pub trait AsmCodegenMethods<'tcx> {
// Required methods
fn codegen_global_asm(
&self,
template: &[InlineAsmTemplatePiece],
operands: &[GlobalAsmOperandRef<'tcx>],
options: InlineAsmOptions,
line_spans: &[Span],
);
fn mangled_name(&self, instance: Instance<'tcx>) -> String;
}
Required Methods§
fn codegen_global_asm( &self, template: &[InlineAsmTemplatePiece], operands: &[GlobalAsmOperandRef<'tcx>], options: InlineAsmOptions, line_spans: &[Span], )
Sourcefn mangled_name(&self, instance: Instance<'tcx>) -> String
fn mangled_name(&self, instance: Instance<'tcx>) -> String
The mangled name of this instance
Additional mangling is used on some targets to add a leading underscore (Mach-O) or byte count suffixes (x86 Windows).