Skip to content

Commit d6f4da9

Browse files
committed
Disable asm lint example tests since they only work on x86_64
1 parent 6ab488a commit d6f4da9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: compiler/rustc_lint_defs/src/builtin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2419,7 +2419,7 @@ declare_lint! {
24192419
///
24202420
/// ### Example
24212421
///
2422-
/// ```rust
2422+
/// ```rust,ignore (fails on non-x86_64)
24232423
/// #[cfg(target_arch="x86_64")]
24242424
/// use std::arch::asm;
24252425
///
@@ -2455,7 +2455,7 @@ declare_lint! {
24552455
///
24562456
/// ### Example
24572457
///
2458-
/// ```rust
2458+
/// ```rust,ignore (fails on non-x86_64)
24592459
/// #[cfg(target_arch="x86_64")]
24602460
/// use std::arch::asm;
24612461
///

0 commit comments

Comments
 (0)