tests: Add features-gate for LoongArch

This commit is contained in:
WANG Rui 2023-10-19 21:13:52 +08:00
parent cb618162b1
commit 6cf9423770
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
// gate-test-bpf_target_feature // gate-test-bpf_target_feature
// gate-test-aarch64_ver_target_feature // gate-test-aarch64_ver_target_feature
// gate-test-csky_target_feature // gate-test-csky_target_feature
// gate-test-loongarch_target_feature
#[target_feature(enable = "avx512bw")] #[target_feature(enable = "avx512bw")]
//~^ ERROR: currently unstable //~^ ERROR: currently unstable

View File

@ -1,5 +1,5 @@
error[E0658]: the target feature `avx512bw` is currently unstable error[E0658]: the target feature `avx512bw` is currently unstable
--> $DIR/gate.rs:22:18 --> $DIR/gate.rs:23:18
| |
LL | #[target_feature(enable = "avx512bw")] LL | #[target_feature(enable = "avx512bw")]
| ^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^