Send and Sync impls of ::env
types depend on implementation
#48004
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
::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.
The text was updated successfully, but these errors were encountered: