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
Unresolved Questions
TODO.
Related
Implementation history
cc @tbu @Amanieu @rust-lang/libs-api
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