rust/library/std
Jubilee Young e285c95cee unix: stack_start_aligned is a safe fn
This function is purely informative, answering where a stack starts.
This is a safe operation, even if an answer requires unsafe code,
and even if the result is some unsafe code decides to trust the answer.
It also doesn't need to fetch the PAGE_SIZE when its caller just did so!
Let's complicate its signature and in doing so simplify its operation.

This allows sprinkling around #[forbid(unsafe_op_in_unsafe_fn)]
2024-07-16 23:46:03 -07:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src unix: stack_start_aligned is a safe fn 2024-07-16 23:46:03 -07:00
tests Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
build.rs std: Set has_reliable_f16 to false for MIPS targets in build.rs 2024-07-03 13:52:06 +02:00
Cargo.toml Add experimental raw-dylib feature to std 2024-07-05 16:11:25 +00:00