Skip to main content

host_isa

Function host_isa 

Source
pub fn host_isa(
    position_independent: bool,
) -> Result<OwnedTargetIsa, CodegenError>
Expand description

The instruction set of the system nf runs on. Code loaded in-process must not be position-independent; executables on macOS and Windows must be, since they load at a random address.

§Errors

When Cranelift doesn’t support this system.