rust/compiler/rustc_hir/src
bors 2f4da6243f 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`
2021-12-14 21:15:22 +00:00
..
arena.rs Add some comments. 2021-11-19 07:52:59 +11:00
def_path_hash_map.rs Use on-disk-hash-table format for DefPathHashMap in hir::definitions. 2021-09-14 13:54:41 +02:00
def.rs Remove invalid doc links. 2021-12-13 20:40:17 +00:00
definitions.rs Remove unused function. 2021-10-11 22:36:46 +02:00
diagnostic_items.rs Introduce get_diagnostic_name 2021-10-06 08:40:28 -05:00
hir_id.rs Remove rustc_hir::hir_id::HirIdVec 2021-10-31 13:34:19 -05:00
hir.rs Remove in_band_lifetimes from rustc_hir 2021-12-13 21:33:53 -07:00
intravisit.rs Remove in_band_lifetimes from rustc_hir 2021-12-13 21:33:53 -07:00
itemlikevisit.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
lang_items.rs Auto merge of #90737 - eholk:intofuture, r=tmandry 2021-12-03 19:29:21 +00:00
lib.rs Remove in_band_lifetimes from rustc_hir 2021-12-13 21:33:53 -07:00
pat_util.rs Simplify for loop desugar 2021-11-21 08:15:21 -06:00
stable_hash_impls.rs Remove in_band_lifetimes from rustc_hir 2021-12-13 21:33:53 -07:00
target.rs Treat macros as HIR items 2021-08-28 00:16:34 -07:00
tests.rs Revert "Revert "Fix test"" 2021-07-06 11:28:06 +02:00
weak_lang_items.rs Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00