diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-14 17:24:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-14 17:24:56 +0100 |
| commit | 0e423932f89baeaa59ea710caeda7a3834506fdd (patch) | |
| tree | 8351eb05793501559feea22dbed7091482ae2c17 /src | |
| parent | bce19cf7f19ee5729defaccc86b068cc3c206c9c (diff) | |
| parent | 5a5621791f3fc6e27c692747ddd37672f83c7360 (diff) | |
| download | rust-0e423932f89baeaa59ea710caeda7a3834506fdd.tar.gz rust-0e423932f89baeaa59ea710caeda7a3834506fdd.zip | |
Rollup merge of #90621 - adamgemmell:dev/stabilise-target-feature, r=Amanieu
Stabilise `aarch64_target_feature` This PR stabilises `aarch64_target_feature` - see https://github.com/rust-lang/rust/issues/90620
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-make-fulldeps/simd-ffi/Makefile | 2 | ||||
| -rw-r--r-- | src/test/ui/target-feature/gate.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/target-feature/tied-features.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-make-fulldeps/simd-ffi/Makefile b/src/test/run-make-fulldeps/simd-ffi/Makefile index e9c974a0137..38f2fcd18c5 100644 --- a/src/test/run-make-fulldeps/simd-ffi/Makefile +++ b/src/test/run-make-fulldeps/simd-ffi/Makefile @@ -41,7 +41,7 @@ define MK_TARGETS # now. $(1): simd.rs $$(RUSTC) --target=$(1) --emit=llvm-ir,asm simd.rs \ - -C target-feature='+neon,+sse2' -C extra-filename=-$(1) + -C target-feature='+fp,+neon,+sse2' -C extra-filename=-$(1) endef $(foreach targetxxx,$(TARGETS),$(eval $(call MK_TARGETS,$(targetxxx)))) diff --git a/src/test/ui/target-feature/gate.rs b/src/test/ui/target-feature/gate.rs index 7cdf404242d..2382c98f8f1 100644 --- a/src/test/ui/target-feature/gate.rs +++ b/src/test/ui/target-feature/gate.rs @@ -16,7 +16,6 @@ // gate-test-avx512_target_feature // gate-test-tbm_target_feature // gate-test-arm_target_feature -// gate-test-aarch64_target_feature // gate-test-hexagon_target_feature // gate-test-mips_target_feature // gate-test-wasm_target_feature @@ -28,6 +27,7 @@ // gate-test-riscv_target_feature // gate-test-ermsb_target_feature // gate-test-bpf_target_feature +// gate-test-aarch64_ver_target_feature #[target_feature(enable = "avx512bw")] //~^ ERROR: currently unstable diff --git a/src/test/ui/target-feature/tied-features.rs b/src/test/ui/target-feature/tied-features.rs index 01353e9f70c..048777cb3ba 100644 --- a/src/test/ui/target-feature/tied-features.rs +++ b/src/test/ui/target-feature/tied-features.rs @@ -1,7 +1,7 @@ // build-fail // compile-flags: --crate-type=rlib --target=aarch64-unknown-linux-gnu // needs-llvm-components: aarch64 -#![feature(aarch64_target_feature, target_feature_11)] +#![cfg_attr(bootstrap, feature(aarch64_target_feature))] #![feature(no_core, lang_items)] #![no_core] |
