Function cranelift_native::builder_with_backend_variant [−][src]
pub fn builder_with_backend_variant(
variant: BackendVariant
) -> 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).