Skip to main content

Module host_isa

Module host_isa 

Source
Expand description

One source of truth for the effective native Cranelift ISA.

isa::lookup(Triple::host()) selects an architecture but does not infer optional host features. JIT code and the SIMD planner must instead consume the same cranelift_native builder, whose detection includes the OS-enabled architectural state checked by Rust’s feature-detection macros.

Structs§

EffectiveIsa
Effective code-generation capabilities advertised by the native Cranelift builder used for this process.