Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 28417ba

Browse files
authored
Unrolled build for rust-lang#138793
Rollup merge of rust-lang#138793 - RalfJung:arm-floatabi, r=Noratrieb target spec check: better error when llvm-floatabi is missing
2 parents b48576b + b2d7271 commit 28417ba

File tree

1 file changed

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

1 file changed

+4
-1
lines changed

compiler/rustc_target/src/spec/mod.rs

Lines changed: 4 additions & 1 deletion
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)