-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Make std::env::{Args, ArgsOs} Send and Sync #118700
Copy link
Copy link
Open
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
#48004 requests to make these 2 types
!Sendand!Syncand #48005 implements it.From this comment, at that time, they were really not
SendandSync, but now, it seems both Unix and Wndows are definingArgsas:which has no reason to be
!Sendand!Sync, I am not sure about thatcloudabiplatform though given that I didn't find it in the source code.If the Std allocates for these types on all the platforms(i.e., basically a
Vec<OsString>), we can probably make themSendandSync