We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d9c6c1 + ddd2e99 commit a022de6Copy full SHA for a022de6
src/bootstrap/build/sanity.rs
@@ -79,7 +79,7 @@ pub fn check(build: &mut Build) {
79
}
80
81
// Make sure musl-root is valid if specified
82
- if target.contains("musl") {
+ if target.contains("musl") && target.contains("x86_64") {
83
match build.config.musl_root {
84
Some(ref root) => {
85
if fs::metadata(root.join("lib/libc.a")).is_err() {
src/libstd/build.rs
@@ -28,7 +28,7 @@ fn main() {
28
29
30
if target.contains("unknown-linux") {
31
32
println!("cargo:rustc-link-lib=static=unwind");
33
} else {
34
println!("cargo:rustc-link-lib=dl");
0 commit comments