target spec check: better error when llvm-floatabi is missing

This commit is contained in:
Ralf Jung 2025-03-21 16:08:48 +01:00
parent 4ac032f857
commit b2d7271858

View file

@ -3342,7 +3342,10 @@ impl Target {
);
}
"arm" => {
check!(self.llvm_floatabi.is_some(), "ARM targets must specify their float ABI",)
check!(
self.llvm_floatabi.is_some(),
"ARM targets must set `llvm-floatabi` to `hard` or `soft`",
)
}
_ => {}
}