We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9914023 commit 5df539dCopy full SHA for 5df539d
gcc/rust/expand/rust-macro-builtins-asm.cc
@@ -819,6 +819,11 @@ expand_inline_asm_strings (InlineAsmContext inline_asm_ctx)
819
}
820
break;
821
case Fmt::ffi::Position::Tag::ArgumentIs:
822
+ {
823
+ auto idx = next_argument.position.argument_is._0;
824
+ transformed_template_str += "%" + std::to_string (idx);
825
+ break;
826
+ }
827
case Fmt::ffi::Position::Tag::ArgumentNamed:
828
rust_sorry_at (inline_asm.get_locus (),
829
"unhandled argument position specifier");
0 commit comments