-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
document that target features are unsafe #63597
Copy link
Copy link
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsP-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsP-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
When discussing #63466 in the compiler team triage meeting, it became clear that target-features ought to be considered generally unsafe. We should document this fact in the
-Chelpand in the rustc book. Ideally, we'd also start listing out known gotchas.For example, in #63466 @nikic noted that:
and @rkruppe had a much more detailed comment.
This issue has been assigned to @togiberlin via this comment.