mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
0fa3190394
Implement `black_box` using intrinsic Introduce `black_box` intrinsic, as suggested in https://github.com/rust-lang/rust/pull/87590#discussion_r680468700. This is still codegenned as empty inline assembly for LLVM. For MIR interpretation and cranelift it's treated as identity. cc `@Amanieu` as this is related to inline assembly cc `@bjorn3` for rustc_codegen_cranelift changes cc `@RalfJung` as this affects MIRI r? `@nagisa` I suppose |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |