Skip to content

Send and Sync impls of ::env types depend on implementation  #48004

Closed
@panicbit

Description

@panicbit

::env::{Args,ArgsOs,Vars,VarsOs} depend entirely on the platform impls in ::sys for their negative Send/Sync impls.
Implementations of those types currently opt out of Send and Sync, so the user facing types should probably explicitly opt out of Send/Sync to avoid accidental inconsistencies between platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions