Closed
Description
The feature gate for the issue is #![feature(asm_const)]
.
Summary
This feature adds a const <expr>
operand type to asm!
and global_asm!
.
<expr>
must be an integer constant expression.- The value of the expression is formatted as a string and substituted directly into the asm template string.
Status
Blocked on the stabilization of inline consts (#76001).
Metadata
Metadata
Assignees
Labels
Area: Inline assembly (`asm!(…)`)Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(asm)]` (not `llvm_asm`)Relevant 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.