Skip to content

Commit 7937f6c

Browse files
committed
rustbuild: Fix panic message when musl-root not set
The previous panic message delivered when a musl target was specified but musl-root was not specified incorrectly instructed the user to add the musl-root key to the "build" section of config.toml. The key actually needs to be added to the "rust" section.
1 parent 51ef2b3 commit 7937f6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/sanity.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ pub fn check(build: &mut Build) {
146146
}
147147
}
148148
None => {
149-
panic!("when targeting MUSL either the build.musl-root \
150-
option or the target.$TARGET.musl-root one must \
149+
panic!("when targeting MUSL either the rust.musl-root \
150+
option or the target.$TARGET.musl-root option must \
151151
be specified in config.toml")
152152
}
153153
}

0 commit comments

Comments
 (0)