Add support for specifying multiple clobber_abi in asm!
Allow multiple clobber_abi in asm Update docs Fix aarch64 test Combine abis Emit duplicate ABI error, empty ABI list error multiple clobber_abi
This commit is contained in:
parent
214cd1f228
commit
b233d3b5da
14 changed files with 370 additions and 147 deletions
|
@ -2058,7 +2058,7 @@ pub struct InlineAsm {
|
|||
pub template: Vec<InlineAsmTemplatePiece>,
|
||||
pub template_strs: Box<[(Symbol, Option<Symbol>, Span)]>,
|
||||
pub operands: Vec<(InlineAsmOperand, Span)>,
|
||||
pub clobber_abi: Option<(Symbol, Span)>,
|
||||
pub clobber_abis: Vec<(Symbol, Span)>,
|
||||
pub options: InlineAsmOptions,
|
||||
pub line_spans: Vec<Span>,
|
||||
}
|
||||
|
@ -2715,7 +2715,7 @@ pub enum ItemKind {
|
|||
/// E.g., `extern {}` or `extern "C" {}`.
|
||||
ForeignMod(ForeignMod),
|
||||
/// Module-level inline assembly (from `global_asm!()`).
|
||||
GlobalAsm(InlineAsm),
|
||||
GlobalAsm(Box<InlineAsm>),
|
||||
/// A type alias (`type`).
|
||||
///
|
||||
/// E.g., `type Foo = Bar<u8>;`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue