Skip to content

Commit

Permalink
Disable asm lint example tests since they only work on x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Dec 14, 2021
1 parent 6ab488a commit d6f4da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2419,7 +2419,7 @@ declare_lint! {
///
/// ### Example
///
/// ```rust
/// ```rust,ignore (fails on non-x86_64)
/// #[cfg(target_arch="x86_64")]
/// use std::arch::asm;
///
Expand Down Expand Up @@ -2455,7 +2455,7 @@ declare_lint! {
///
/// ### Example
///
/// ```rust
/// ```rust,ignore (fails on non-x86_64)
/// #[cfg(target_arch="x86_64")]
/// use std::arch::asm;
///
Expand Down

0 comments on commit d6f4da9

Please sign in to comment.