Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Closed
panicbit opened this issue Feb 4, 2018 · 0 comments · Fixed by #48005
Closed

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

panicbit opened this issue Feb 4, 2018 · 0 comments · Fixed by #48005
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@panicbit
Copy link
Contributor

panicbit commented Feb 4, 2018

::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.

bors added a commit that referenced this issue Feb 5, 2018
Unimplement Send/Sync for ::env::{Args,ArgsOs,Vars,VarsOs}

Fixes #48004
@TimNN TimNN added the C-enhancement Category: An issue proposing an enhancement or a PR with one. label Feb 6, 2018
kennytm added a commit to kennytm/rust that referenced this issue Feb 14, 2018
…excrichton

Unimplement Send/Sync for ::env::{Args,ArgsOs,Vars,VarsOs}

Fixes rust-lang#48004
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants