target spec check: better error when llvm-floatabi is missing
This commit is contained in:
parent
4ac032f857
commit
b2d7271858
1 changed files with 4 additions and 1 deletions
|
@ -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`",
|
||||
)
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue