Forwarded: not-needed
Gbp-Pq: Topic ubuntu
Gbp-Pq: Name ubuntu-disable-ppc64el-asm-tests.patch
/// ### Example
///
/// ```rust,compile_fail
- /// # #![feature(asm_experimental_arch)]
+ /// #![cfg_attr(
+ /// not(any(target_arch = "powerpc64", target_arch = "s390x")),
+ /// feature(asm_experimental_arch)
+ /// )]
/// use std::arch::asm;
///
/// fn main() {
///
/// use std::arch::asm;
///
+ /// #[cfg(not(any(target_arch = "powerpc64", target_arch = "s390x")))]
/// #[naked]
/// pub fn default_abi() -> u32 {
/// unsafe { asm!("", options(noreturn)); }
/// }
///
+ /// #[cfg(not(any(target_arch = "powerpc64", target_arch = "s390x")))]
/// #[naked]
/// pub extern "Rust" fn rust_abi() -> u32 {
/// unsafe { asm!("", options(noreturn)); }