Function cranelift_native::builder_with_options [−][src]
pub fn builder_with_options(
variant: BackendVariant,
infer_native_flags: bool
) -> Result<Builder, &'static str>
Return an isa
builder configured for the current host
machine, or Err(())
if the host machine is not supported
in the current configuration.
Selects the given backend variant specifically; this is useful when more than oen backend exists for a given target (e.g., on x86-64).