File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -149,8 +149,8 @@ enabling or disabling compilation of code based on compile-time settings. Note
149
149
that this option is not affected by the ` target_feature ` attribute, and is
150
150
only driven by the features enabled for the entire crate.
151
151
152
- See the [ ` is_x86_feature_detected ` ] macro in the standard library for runtime
153
- feature detection on the x86 platforms.
152
+ See the [ ` is_x86_feature_detected ` ] or [ ` is_aarch64_feature_detected ` ] macros
153
+ in the standard library for runtime feature detection on these platforms.
154
154
155
155
> Note: ` rustc ` has a default set of features enabled for each target and CPU.
156
156
> The CPU may be chosen with the [ ` -C target-cpu ` ] flag. Individual features
@@ -267,7 +267,8 @@ trait object whose methods are attributed.
267
267
[ _MetaListNameValueStr_ ] : ../attributes.md#meta-item-attribute-syntax
268
268
[ `-C target-cpu` ] : ../../rustc/codegen-options/index.html#target-cpu
269
269
[ `-C target-feature` ] : ../../rustc/codegen-options/index.html#target-feature
270
- [ `is_x86_feature_detected` ] : ../../std/macro.is_x86_feature_detected.html
270
+ [ `is_x86_feature_detected` ] : ../../std/arch/macro.is_x86_feature_detected.html
271
+ [ `is_aarch64_feature_detected` ] : ../../std/arch/macro.is_aarch64_feature_detected.html
271
272
[ `target_feature` conditional compilation option ] : ../conditional-compilation.md#target_feature
272
273
[ attribute ] : ../attributes.md
273
274
[ attributes ] : ../attributes.md
You can’t perform that action at this time.
0 commit comments