File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -374,13 +374,25 @@ pub mod arch {
374
374
pub use crate :: core_arch:: arch:: * ;
375
375
376
376
/// Inline assembly.
377
+ ///
378
+ /// Refer to [rust by example] for a usage guide and the [reference] for
379
+ /// detailed information about the syntax and available options.
380
+ ///
381
+ /// [rust by example]: https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html
382
+ /// [reference]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html
377
383
#[ stable( feature = "asm" , since = "1.59.0" ) ]
378
384
#[ rustc_builtin_macro]
379
385
pub macro asm( "assembly template", $(operands,)* $(options($(option),*))?) {
380
386
/* compiler built-in */
381
387
}
382
388
383
389
/// Module-level inline assembly.
390
+ ///
391
+ /// Refer to [rust by example] for a usage guide and the [reference] for
392
+ /// detailed information about the syntax and available options.
393
+ ///
394
+ /// [rust by example]: https://doc.rust-lang.org/nightly/rust-by-example/unsafe/asm.html
395
+ /// [reference]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html
384
396
#[stable(feature = " global_asm", since = "1.59.0" ) ]
385
397
#[ rustc_builtin_macro]
386
398
pub macro global_asm( "assembly template" , $( operands, ) * $( options ( $( option) , * ) ) ?) {
You can’t perform that action at this time.
0 commit comments