diff --git a/lucetc/src/compiler/cpu_features.rs b/lucetc/src/compiler/cpu_features.rs index 4e7b8fcb1..d08ebb3bc 100644 --- a/lucetc/src/compiler/cpu_features.rs +++ b/lucetc/src/compiler/cpu_features.rs @@ -193,7 +193,7 @@ impl CpuFeatures { Error::Unsupported("host machine is not a supported target".to_string()) }) } else { - isa::lookup(Triple::host()).map_err(Error::UnsupportedIsa) + isa::lookup(target).map_err(Error::UnsupportedIsa) }?; let mut specific_features = self.specific_features.clone();