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
[Principles of Operation]: https://publibfp.dhe.ibm.com/epubs/pdf/a227832d.pdf
532
+
509
533
r[attributes.codegen.target_feature.info]
510
534
### Additional information
511
535
@@ -516,8 +540,7 @@ that this option is not affected by the `target_feature` attribute, and is
516
540
only driven by the features enabled for the entire crate.
517
541
518
542
r[attributes.codegen.target_feature.remark-rt]
519
-
See the [`is_x86_feature_detected`] or [`is_aarch64_feature_detected`] macros
520
-
in the standard library for runtime feature detection on these platforms.
543
+
Whether a feature is enabled can be checked at runtime using a platform-specific macro from the standard library, for instance [`is_x86_feature_detected`] or [`is_aarch64_feature_detected`].
521
544
522
545
> [!NOTE]
523
546
> `rustc` has a default set of features enabled for each target and CPU. The CPU may be chosen with the [`-C target-cpu`] flag. Individual features may be enabled or disabled for an entire crate with the [`-C target-feature`] flag.
0 commit comments