cranelift_native

Function builder_with_options

Source
pub fn builder_with_options(
    infer_native_flags: bool,
) -> Result<Builder, &'static str>
Expand description

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 one backend exists for a given target (e.g., on x86-64).