pub enum CompilerRuntime {
LaminaBuiltins,
None,
}Expand description
Where the compiler-runtime helpers (__divti3 and friends) come from.
A separate choice from the Libc: a musl toolchain links the host compiler runtime
too. Another runtime arrives as one more value here.
Variants§
LaminaBuiltins
Lamina’s own builtins/, compiled per program for the target. It has both the
128-bit helpers and the 64-bit ones a target with 32-bit integer registers needs,
so no host compiler runtime is required beside it.
None
No compiler runtime is linked; a call to a helper is a link error.
Trait Implementations§
Source§impl Clone for CompilerRuntime
impl Clone for CompilerRuntime
impl Copy for CompilerRuntime
Source§impl Debug for CompilerRuntime
impl Debug for CompilerRuntime
impl Eq for CompilerRuntime
Source§impl Hash for CompilerRuntime
impl Hash for CompilerRuntime
Source§impl PartialEq for CompilerRuntime
impl PartialEq for CompilerRuntime
impl StructuralPartialEq for CompilerRuntime
Auto Trait Implementations§
impl Freeze for CompilerRuntime
impl RefUnwindSafe for CompilerRuntime
impl Send for CompilerRuntime
impl Sync for CompilerRuntime
impl Unpin for CompilerRuntime
impl UnsafeUnpin for CompilerRuntime
impl UnwindSafe for CompilerRuntime
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