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 |
||
|---|---|---|
| .. | ||
| borrow_check | ||
| const_eval | ||
| dataflow | ||
| interpret | ||
| monomorphize | ||
| transform | ||
| util | ||
| lib.rs | ||
| shim.rs | ||