-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for Rust 2024: Make std::env::{set_var, remove_var} unsafe #124866
Copy link
Copy link
Closed
Labels
A-edition-2024Area: The 2024 editionArea: The 2024 editionC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-ready-for-editionStatus: This issue is ready for inclusion in the edition.Status: This issue is ready for inclusion in the edition.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
A-edition-2024Area: The 2024 editionArea: The 2024 editionC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-ready-for-editionStatus: This issue is ready for inclusion in the edition.Status: This issue is ready for inclusion in the edition.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.
This is a tracking issue for making
std::env::{set_var, remove_var}unsafe to call in Rust 2024.About tracking issues
Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
std::env::{set_var, remove_var}.std::env::{set_var, remove_var}unsafe in edition 2024 #124636rustc_deprecated_safe_2024.std::env::{set_var, remove_var}unsafe in edition 2024 #124636deprecated_safelint todeprecated_safe_2024#125990CommandExt::before_exec.// TODO:comment for deprecated safe autofix #127857Unresolved Questions
TODO.
Related
std::env::{set_var, remove_var}unsafe in edition 2024 #124636unsafe_op_in_unsafe_fnfor deprecated safe fns #125925std::env::{set_var, remove_var}#125937deprecated_safelint todeprecated_safe_2024#125990// TODO:comment for deprecated safe autofix #127857Implementation history
std::env::{set_var, remove_var}unsafe in edition 2024 #124636cc @tbu @Amanieu @rust-lang/libs-api