Skip to content

Commit

Permalink
Rollup merge of rust-lang#66226 - lzutao:asm-usage-link, r=Centril
Browse files Browse the repository at this point in the history
add link to unstable book for asm! macro

r? @Centril
  • Loading branch information
Centril authored Nov 8, 2019
2 parents a9d4d2b + 3db1005 commit 3cb884a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libcore/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1274,6 +1274,10 @@ pub(crate) mod builtin {
}

/// Inline assembly.
///
/// Read the [unstable book] for the usage.
///
/// [unstable book]: ../unstable-book/library-features/asm.html
#[unstable(feature = "asm", issue = "29722",
reason = "inline assembly is not stable enough for use and is subject to change")]
#[rustc_builtin_macro]
Expand Down

0 comments on commit 3cb884a

Please sign in to comment.