@@ -392,38 +392,8 @@ pub mod primitive;
392
392
#[ unstable( feature = "stdsimd" , issue = "48556" ) ]
393
393
mod core_arch;
394
394
395
- #[ doc = include_str ! ( "../../stdarch/crates/core_arch/src/core_arch_docs.md" ) ]
396
395
#[ stable( feature = "simd_arch" , since = "1.27.0" ) ]
397
- pub mod arch {
398
- #[ stable( feature = "simd_arch" , since = "1.27.0" ) ]
399
- pub use crate :: core_arch:: arch:: * ;
400
-
401
- /// Inline assembly.
402
- ///
403
- /// Refer to [rust by example] for a usage guide and the [reference] for
404
- /// detailed information about the syntax and available options.
405
- ///
406
- /// [rust by example]: https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html
407
- /// [reference]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html
408
- #[ stable( feature = "asm" , since = "1.59.0" ) ]
409
- #[ rustc_builtin_macro]
410
- pub macro asm( "assembly template", $(operands,)* $(options($(option),*))?) {
411
- /* compiler built-in */
412
- }
413
-
414
- /// Module-level inline assembly.
415
- ///
416
- /// Refer to [rust by example] for a usage guide and the [reference] for
417
- /// detailed information about the syntax and available options.
418
- ///
419
- /// [rust by example]: https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html
420
- /// [reference]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html
421
- #[stable(feature = " global_asm", since = "1.59.0" ) ]
422
- #[ rustc_builtin_macro]
423
- pub macro global_asm( "assembly template" , $( operands, ) * $( options ( $( option) , * ) ) ?) {
424
- /* compiler built-in */
425
- }
426
- }
396
+ pub mod arch;
427
397
428
398
// Pull in the `core_simd` crate directly into libcore. The contents of
429
399
// `core_simd` are in a different repository: rust-lang/portable-simd.
0 commit comments