Skip to content

Commit 1df855e

Browse files
committed
tests: Add features-gate for LoongArch
1 parent 93dbc28 commit 1df855e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/ui/target-feature/gate.rs

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
// gate-test-bpf_target_feature
1919
// gate-test-aarch64_ver_target_feature
2020
// gate-test-csky_target_feature
21+
// gate-test-loongarch_target_feature
2122

2223
#[target_feature(enable = "avx512bw")]
2324
//~^ ERROR: currently unstable

tests/ui/target-feature/gate.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0658]: the target feature `avx512bw` is currently unstable
2-
--> $DIR/gate.rs:22:18
2+
--> $DIR/gate.rs:23:18
33
|
44
LL | #[target_feature(enable = "avx512bw")]
55
| ^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)