about summary refs log tree commit diff
path: root/library/std/src/sys/pal/teeos/os.rs
AgeCommit message (Collapse)AuthorLines
2025-08-26remove deprecated Error::description in implsMarijn Schouten-7/+1
2025-04-21Move `sys::pal::os::Env` into `sys::env`Thalia Archibald-41/+0
Although `Env` (as `Vars`), `Args`, path functions, and OS constants are publicly exposed via `std::env`, their implementations are each self-contained. Keep them separate in `std::sys` and make a new module, `sys::env`, for `Env`.
2025-02-10Use io::const_error! when possible over io::Error::newThalia Archibald-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+2
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-05-29Make `std::env::{set_var, remove_var}` unsafe in edition 2024Tobias Bucher-2/+2
Allow calling these functions without `unsafe` blocks in editions up until 2021, but don't trigger the `unused_unsafe` lint for `unsafe` blocks containing these functions. Fixes #27970. Fixes #90308. CC #124866.
2024-01-11std: begin moving platform support modules into `pal`joboet-0/+134