- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Open
Labels
A-target-featureArea: Enabling/disabling target features like AVX, Neon, etc.Area: Enabling/disabling target features like AVX, Neon, etc.B-RFC-implementedBlocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Approved by a merged RFC and implemented but not stabilized.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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-target_feature_11target feature 1.1 RFCtarget feature 1.1 RFCS-tracking-ready-to-stabilizeStatus: This is ready to stabilize; it may need a stabilization report and a PRStatus: This is ready to stabilize; it may need a stabilization report and a PRT-langRelevant to the language teamRelevant to the language team
Description
This is a tracking issue for the RFC "target_feature 1.1" (rust-lang/rfcs#2396).
Issues: 
  F-target_feature_11
  
People
Last updated in Mar 2023:
- Shepherd: gnzlbg@workingjubilee (person who can help answer tricky questions that arise during implementation)
- Lang team liaison: @joshtriplett (main point of contact from lang team)
Step
-  Implement the RFC: Implement RFC 2396: #[target_feature]1.1 #69274
-  Adjust documentation: Document the target_feature_11feature reference#1181
- Stabilization PR (see instructions on rustc-guide)
-  Revert? Revert stabilization of #![feature(target_feature_11)]#108654
- I suppose we're off the end of the script, here. Bugs to fix:
-  #[target_feature]is allowed onmain#108645
-  #[target_feature]is allowed on default implementations #108646
-  target_feature_11rejects code that was previously accepted #108655
-  The extern "C"ABI of SIMD vector types depends on target features (tracking issue forabi_unsupported_vector_typesfuture-incompatibility lint) #116558
-  The (stable) neonaarch64 target feature is unsound: it changes the float ABI #131058
 
-  
- Re-stabilization PR: Stabilize target_feature_11 #134090
Unresolved questions
- target_feature_11 allows bypassing safety checks through Fn* traits #72012 -- soundness hole where safe target-feature functions implement the- Fntraits.
- target-feature 1.1: should closures inherit target-feature annotations? #73631 -- behavior of closures and target-features
Metadata
Metadata
Assignees
Labels
A-target-featureArea: Enabling/disabling target features like AVX, Neon, etc.Area: Enabling/disabling target features like AVX, Neon, etc.B-RFC-implementedBlocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Approved by a merged RFC and implemented but not stabilized.B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.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-target_feature_11target feature 1.1 RFCtarget feature 1.1 RFCS-tracking-ready-to-stabilizeStatus: This is ready to stabilize; it may need a stabilization report and a PRStatus: This is ready to stabilize; it may need a stabilization report and a PRT-langRelevant to the language teamRelevant to the language team