Skip to content

Potentially expose sync feature of icu_provider #641

@aapoalas

Description

@aapoalas

At least in Nova's usage, dropping of GC'd heap items (and generally will) can happen on threads other than the main JavaScript runtime thread.

For ZonedDateTime specifically, it is not currently Send due to using an Rc<Box<[u8]>> inside of icu_provider crate. The crate does offer a sync feature which would (presumably) switch to using Arc.

I assume this would be necessary for us to use temporal_rs safely; but maybe I'm mistaken?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions