pub enum EmitKind {
Executable,
Object,
Asm,
Preprocessed,
Tast,
Ir,
MirFinal,
}Expand description
What the compiler should produce.
The intermediate forms are not a debugging convenience bolted on later. Every one of them
is a documented textual form that round-trips, which is what makes the per-stage testing
in spec/15-testing.md section 15.2 possible.
Variants§
Executable
A linked executable. The default.
Object
An object file, -c.
Asm
Assembly text, -S.
Preprocessed
Preprocessed source, -E.
Tast
The typed AST, --emit=tast.
Ir
The IR, --emit=ir.
MirFinal
The machine IR after register allocation, --emit=mir-final.
Implementations§
Trait Implementations§
impl Copy for EmitKind
impl Eq for EmitKind
impl StructuralPartialEq for EmitKind
Auto Trait Implementations§
impl Freeze for EmitKind
impl RefUnwindSafe for EmitKind
impl Send for EmitKind
impl Sync for EmitKind
impl Unpin for EmitKind
impl UnsafeUnpin for EmitKind
impl UnwindSafe for EmitKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more