1 | #![doc = include_str!("../../stdarch/crates/core_arch/src/core_arch_docs.md" )] |
2 | |
3 | #[allow (unused_imports)] |
4 | #[stable (feature = "simd_arch" , since = "1.27.0" )] |
5 | pub use crate::core_arch::arch::*; |
6 | |
7 | /// Inline assembly. |
8 | /// |
9 | /// Refer to [Rust By Example] for a usage guide and the [reference] for |
10 | /// detailed information about the syntax and available options. |
11 | /// |
12 | /// [Rust By Example]: https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html |
13 | /// [reference]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html |
14 | #[stable (feature = "asm" , since = "1.59.0" )] |
15 | #[rustc_builtin_macro ] |
16 | pub macro asm("assembly template" , $(operands,)* $(options($(option),*))?) { |
17 | /* compiler built-in */ |
18 | } |
19 | |
20 | /// Module-level inline assembly. |
21 | /// |
22 | /// Refer to [Rust By Example] for a usage guide and the [reference] for |
23 | /// detailed information about the syntax and available options. |
24 | /// |
25 | /// [Rust By Example]: https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html |
26 | /// [reference]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html |
27 | #[stable (feature = "global_asm" , since = "1.59.0" )] |
28 | #[rustc_builtin_macro ] |
29 | pub macro global_asm("assembly template" , $(operands,)* $(options($(option),*))?) { |
30 | /* compiler built-in */ |
31 | } |
32 | |