diff options
| author | bors <bors@rust-lang.org> | 2021-08-15 21:22:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-15 21:22:02 +0000 |
| commit | 2bd17c1d43bba43412cc2f051323a279d6751e43 (patch) | |
| tree | 78a3ebe8354eeeed46262c272e44af6029050aef /compiler/rustc_codegen_llvm/src/context.rs | |
| parent | 2d2bc94c8c3aa778e191f80261c726e4777439f1 (diff) | |
| parent | 632a400a3652beea592af91fff6b39140fe626d9 (diff) | |
| download | rust-2bd17c1d43bba43412cc2f051323a279d6751e43.tar.gz rust-2bd17c1d43bba43412cc2f051323a279d6751e43.zip | |
Auto merge of #87590 - Amanieu:deprecate_llvm_asm, r=nagisa
Deprecate llvm_asm! We would like to remove `llvm_asm!` from the compiler once `asm!` is stabilized. This PR deprecates `llvm_asm!` to encourage any remaining users to migrate to `asm!` (or if `asm!` is not supported for their target, to add this support to rustc). The only remaining user of `llvm_asm!` in the standard library was `black_box`, which has been rewritten to use volatile operations when `asm!` is not available on the current target. cc `@rust-lang/wg-inline-asm` cc `@RalfJung` for the changes to `black_box` which might affect Miri. r? `@nagisa`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions
