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
@@ -516,8 +537,7 @@ that this option is not affected by the `target_feature` attribute, and is
516
537
only driven by the features enabled for the entire crate.
517
538
518
539
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.
540
+
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
541
522
542
> [!NOTE]
523
543
> `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