Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 28417ba

Browse files
authoredMar 23, 2025
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

+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)
Failed to load comments.