about summary refs log tree commit diff
path: root/library/std/src/sys/pal/sgx/os.rs
AgeCommit message (Collapse)AuthorLines
2025-08-26remove deprecated Error::description in implsMarijn Schouten-8/+2
2025-04-21Move `sys::pal::os::Env` into `sys::env`Thalia Archibald-99/+1
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-04-14Clarify why SGX code specifies linkage/symbol names for certain staticsJethro Beekman-2/+4
Also update the symbol names as items have moved around a bit. The actual name isn't that important, it just needs to be unique. But for debugging it can be useful for it to point to the right place.
2025-02-13std: Apply unsafe_attr_outside_unsafeEric Huss-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+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/+187