about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-12-14 21:15:22 +0000
committerbors <bors@rust-lang.org>2021-12-14 21:15:22 +0000
commit2f4da6243f817b26c5c8156408911a01b39f9759 (patch)
tree86c9c9e06479792949a4425c479680d201e1ba42 /compiler/rustc_codegen_llvm/src/lib.rs
parent404c8471aba60c2d837fa728e7c729a0f52d5830 (diff)
parentd6f4da9871cc0106099562088c399951af54faf4 (diff)
downloadrust-2f4da6243f817b26c5c8156408911a01b39f9759.tar.gz
rust-2f4da6243f817b26c5c8156408911a01b39f9759.zip
Auto merge of #91728 - Amanieu:stable_asm, r=joshtriplett
Stabilize asm! and global_asm!

Tracking issue: #72016

It's been almost 2 years since the original [RFC](https://github.com/rust-lang/rfcs/pull/2850) was posted and we're finally ready to stabilize this feature!

The main changes in this PR are:
- Removing `asm!` and `global_asm!` from the prelude as per the decision in #87228.
- Stabilizing the `asm` and `global_asm` features.
- Removing the unstable book pages for `asm` and `global_asm`. The contents are moved to the [reference](https://github.com/rust-lang/reference/pull/1105) and [rust by example](https://github.com/rust-lang/rust-by-example/pull/1483).
  - All links to these pages have been removed to satisfy the link checker. In a later PR these will be replaced with links to the reference or rust by example.
- Removing the automatic suggestion for using `llvm_asm!` instead of `asm!` if you're still using the old syntax, since it doesn't work anymore with `asm!` no longer being in the prelude. This only affects code that predates the old LLVM-style `asm!` being renamed to `llvm_asm!`.
- Updating `stdarch` and `compiler-builtins`.
- Updating all the tests.

r? `@joshtriplett`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions