about summary refs log tree commit diff
path: root/library/std/src/sys/pal/solid/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-140/+2
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-09Mark extern blocks as unsafeMichael Goulet-1/+1
2024-11-26std: update internal uses of `io::const_error!`joboet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-12/+6
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-02-20Delete architecture-specific memchr code in std::sysArthur Carcano-1/+3
Currently all architecture-specific memchr code is only used in `std::io`. Most of the actual `memchr` capacity exposed to the user through the slice API is instead implemented in core::slice::memchr. Hence this commit deletes memchr from std::sys[_common] and replace calls to it by calls to core::slice::memchr functions. This deletes (r)memchr from the list of symbols linked to libc.
2024-02-18Dyn erase at call siteDavid Thomas-4/+4
2024-01-11std: begin moving platform support modules into `pal`joboet-0/+228