Closed
Description
This is a tracking issue for the RFC "#[instruction_set(...)]
attribute" (rust-lang/rfcs#2867).
The feature gate for the issue is #![feature(isa_attribute)]
.
The lang-team liaison for this feature is @pnkfelix.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also uses 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
- Implement the RFC (Implementation of RFC2867 #76260)
- Adjust documentation (Document RFC 2867: instruction_set attribute reference#1253)
- Stabilization PR (see instructions on rustc-dev-guide)
Unresolved Questions
- How do we ensure that
instruction_set
and inline assembly always interact correctly? This isn't an implementation blocker but needs to be resolved before Stabilization of the attribute. (Currently, LLVM will not inlinea32
functions intot32
functions and vice versa, because they count as different code targets. However, this is not necessarily a guarantee from LLVM, it could just be the current implementation, so more investigation is needed.)
Implementation history
Metadata
Metadata
Assignees
Labels
Area: Code generationBlocker: Approved by a merged RFC but not yet implemented.Category: An issue tracking the progress of sth. like the implementation of an RFCRelated to #[instruction_set] attribute introduced by RFC 2867Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateStatus: This is ready to stabilize; it may need a stabilization report and a PRRelevant to the language team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.