mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 14:56:12 +00:00
zkvm: add `#[forbid(unsafe_op_in_unsafe_fn)]` in `stdlib` This also adds an additional `unsafe` block to address compiler errors. This PR is intended to address https://github.com/rust-lang/rust/issues/127747 for the zkvm target.