rust/tests/ui/target-feature/forbidden-hardfloat-target-feature-flag-disable-neon.rs

12 lines
338 B
Rust

//@ compile-flags: --target=aarch64-unknown-linux-gnu --crate-type=lib
//@ needs-llvm-components: aarch64
//@ compile-flags: -Ctarget-feature=-neon
// For now this is just a warning.
//@ build-pass
//@error-pattern: must be enabled to ensure that the ABI
#![feature(no_core, lang_items)]
#![no_core]
#[lang = "sized"]
pub trait Sized {}