cranelift_native

Function infer_native_flags

source
pub fn infer_native_flags(
    isa_builder: &mut dyn Configurable,
) -> Result<(), &'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).