Skip to content

Commit 7372f28

Browse files
authored
Rollup merge of rust-lang#138793 - RalfJung:arm-floatabi, r=Noratrieb
target spec check: better error when llvm-floatabi is missing
2 parents 4457da3 + b2d7271 commit 7372f28

File tree

1 file changed

+4
-1
lines changed
  • compiler/rustc_target/src/spec

1 file changed

+4
-1
lines changed

Diff for: compiler/rustc_target/src/spec/mod.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -3342,7 +3342,10 @@ impl Target {
33423342
);
33433343
}
33443344
"arm" => {
3345-
check!(self.llvm_floatabi.is_some(), "ARM targets must specify their float ABI",)
3345+
check!(
3346+
self.llvm_floatabi.is_some(),
3347+
"ARM targets must set `llvm-floatabi` to `hard` or `soft`",
3348+
)
33463349
}
33473350
_ => {}
33483351
}

0 commit comments

Comments
 (0)