You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fffd285
Browse filesBrowse the repository at this point in the historyBrowse files
= note: this error originates in the macro `arch::is_aarch64_feature_detected` (in Nightly builds, run with -Z macro-backtrace for more info)
16
+
17
+
error: This macro cannot be used on the current target. You can prevent
18
+
it from being used in other architectures by guarding it behind
19
+
a `cfg(any(target_arch = "x86", target_arch = "x86_64"))`.
20
+
--> $DIR/is_arch_feature_detected.rs:29:13
21
+
|
22
+
LL | let _ = arch::is_x86_feature_detected!("sse");
23
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
+
|
25
+
= note: this error originates in the macro `arch::is_x86_feature_detected` (in Nightly builds, run with -Z macro-backtrace for more info)
26
+
27
+
error: This macro cannot be used on the current target. You can prevent
28
+
it from being used in other architectures by guarding it behind
29
+
a `cfg(any(target_arch = "x86", target_arch = "x86_64"))`.
30
+
--> $DIR/is_arch_feature_detected.rs:36:13
31
+
|
32
+
LL | let _ = arch::is_x86_feature_detected!("avx512gfni");
33
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34
+
|
35
+
= note: this error originates in the macro `$crate::is_x86_feature_detected` which comes from the expansion of the macro `arch::is_x86_feature_detected` (in Nightly builds, run with -Z macro-backtrace for more info)
36
+
37
+
error: "ras" feature cannot be detected at run-time
38
+
--> $DIR/is_arch_feature_detected.rs:41:13
39
+
|
40
+
LL | let _ = arch::is_aarch64_feature_detected!("ras");
41
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
+
|
43
+
= note: this error originates in the macro `arch::is_aarch64_feature_detected` (in Nightly builds, run with -Z macro-backtrace for more info)
44
+
45
+
error[E0658]: use of unstable library feature `stdarch_mips_feature_detection`
46
+
--> $DIR/is_arch_feature_detected.rs:45:13
47
+
|
48
+
LL | let _ = arch::is_mips_feature_detected!("msa");
49
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50
+
|
51
+
= note: see issue #111188 <https://github.com/rust-lang/rust/issues/111188> for more information
52
+
= help: add `#![feature(stdarch_mips_feature_detection)]` to the crate attributes to enable
53
+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
54
+
55
+
error: This macro cannot be used on the current target. You can prevent
56
+
it from being used in other architectures by guarding it behind
57
+
a `cfg(target_arch = "mips")`.
58
+
--> $DIR/is_arch_feature_detected.rs:45:13
59
+
|
60
+
LL | let _ = arch::is_mips_feature_detected!("msa");
61
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62
+
|
63
+
= note: this error originates in the macro `arch::is_mips_feature_detected` (in Nightly builds, run with -Z macro-backtrace for more info)
64
+
65
+
error[E0658]: use of unstable library feature `stdarch_aarch64_feature_detection`
66
+
--> $DIR/is_arch_feature_detected.rs:52:13
67
+
|
68
+
LL | let _ = arch::is_aarch64_feature_detected!("wfxt");
69
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
70
+
|
71
+
= note: see issue #127764 <https://github.com/rust-lang/rust/issues/127764> for more information
72
+
= help: add `#![feature(stdarch_aarch64_feature_detection)]` to the crate attributes to enable
73
+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
74
+
= note: this error originates in the macro `$crate::detect_feature` which comes from the expansion of the macro `arch::is_aarch64_feature_detected` (in Nightly builds, run with -Z macro-backtrace for more info)
75
+
76
+
error: aborting due to 8 previous errors
77
+
78
+
For more information about this error, try `rustc --explain E0658`.
0 commit comments