-
Notifications
You must be signed in to change notification settings - Fork 74
Inline assembly #280
Copy link
Copy link
Closed
Labels
major-changeA proposal to make a major change to rustcA proposal to make a major change to rustcmajor-change-acceptedA major change proposal that was acceptedA major change proposal that was accepted
Metadata
Metadata
Assignees
Labels
major-changeA proposal to make a major change to rustcA proposal to make a major change to rustcmajor-change-acceptedA major change proposal that was acceptedA major change proposal that was accepted
Type
Fields
Give feedbackNo fields configured for issues without a type.
TL;DR
asm!syntax proposed in Inline assembly rfcs#2873.Links and Details
In rust-lang/rust#71007 we deprecated the old
asm!macro and told users to usellvm_asm!instead. The next step is to replaceasm!with a macro implementing the new syntax proposed in the RFC.The implementation PR has design notes on how the inline assembly passes through the various stages of the compiler (AST, HIR, MIR, etc).
Implementation PR: rust-lang/rust#69171
New RFC thread: rust-lang/rfcs#2873
Old RFC thread (now closed): rust-lang/rfcs#2850
Mentors or Reviewers
@nagisa has already performed an initial review of the implementation PR.