-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for RFC 3325: unsafe attributes #123757
Copy link
Copy link
Closed
Labels
A-edition-2024Area: The 2024 editionArea: The 2024 editionB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-unsafe_attributes`#![feature(unsafe_attributes)]``#![feature(unsafe_attributes)]`L-unsafe_attr_outside_unsafeLint: unsafe_attr_outside_unsafeLint: unsafe_attr_outside_unsafeS-tracking-ready-for-editionStatus: This issue is ready for inclusion in the edition.Status: This issue is ready for inclusion in the edition.T-langRelevant to the language teamRelevant to the language team
Metadata
Metadata
Assignees
Labels
A-edition-2024Area: The 2024 editionArea: The 2024 editionB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-unsafe_attributes`#![feature(unsafe_attributes)]``#![feature(unsafe_attributes)]`L-unsafe_attr_outside_unsafeLint: unsafe_attr_outside_unsafeLint: unsafe_attr_outside_unsafeS-tracking-ready-for-editionStatus: This issue is ready for inclusion in the edition.Status: This issue is ready for inclusion in the edition.T-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is a tracking issue for RFC 3325: unsafe attributes
RFC: rust-lang/rfcs#3325`#![feature(unsafe_attributes)]`
Issues: F-unsafe_attributes
The feature gate for the issue is
#![feature(unsafe_attributes)].For a table showing the attributes that were considered to be included in the list to require unsafe, and subsequent reasoning about why each such attribute was or was not included, see this comment here
About tracking issues
Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
unsafe_attributes#128771Unresolved Questions
no_mangleoutsideunsafe(...)could be staged in various ways: it could be warn-by-default to start or we wait a while before to do that, it could be edition-dependent, it might eventually be deny-by-default or even a hard error on some editions -- there are lots of details here, which can be determined later during the process.Implementation history
cc @RalfJung @carbotaniuman @rust-lang/style
This issue has been assigned to @carbotaniuman via this comment.