File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 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
149149that this option is not affected by the ` target_feature ` attribute, and is
150150only driven by the features enabled for the entire crate.
151151
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.
154154
155155> Note: ` rustc ` has a default set of features enabled for each target and CPU.
156156> The CPU may be chosen with the [ ` -C target-cpu ` ] flag. Individual features
@@ -267,7 +267,8 @@ trait object whose methods are attributed.
267267[ _MetaListNameValueStr_ ] : ../attributes.md#meta-item-attribute-syntax
268268[ `-C target-cpu` ] : ../../rustc/codegen-options/index.html#target-cpu
269269[ `-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
271272[ `target_feature` conditional compilation option ] : ../conditional-compilation.md#target_feature
272273[ attribute ] : ../attributes.md
273274[ attributes ] : ../attributes.md
You can’t perform that action at this time.
0 commit comments