cranelift::prelude::isa

Function lookup_by_name

pub fn lookup_by_name(
    name: &str,
) -> Result<IsaBuilder<Result<Arc<dyn TargetIsa>, CodegenError>>, LookupError>
Expand description

Look for a supported ISA with the given name. Return a builder that can create a corresponding TargetIsa.