Disable asm lint example tests since they only work on x86_64

This commit is contained in:
Amanieu d'Antras 2021-12-14 11:48:28 +00:00
parent 6ab488af57
commit d6f4da9871

View file

@ -2419,7 +2419,7 @@ declare_lint! {
/// ///
/// ### Example /// ### Example
/// ///
/// ```rust /// ```rust,ignore (fails on non-x86_64)
/// #[cfg(target_arch="x86_64")] /// #[cfg(target_arch="x86_64")]
/// use std::arch::asm; /// use std::arch::asm;
/// ///
@ -2455,7 +2455,7 @@ declare_lint! {
/// ///
/// ### Example /// ### Example
/// ///
/// ```rust /// ```rust,ignore (fails on non-x86_64)
/// #[cfg(target_arch="x86_64")] /// #[cfg(target_arch="x86_64")]
/// use std::arch::asm; /// use std::arch::asm;
/// ///