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.
This commit is contained in:
parent
51ef2b315b
commit
7937f6ccde
|
@ -146,8 +146,8 @@ pub fn check(build: &mut Build) {
|
|||
}
|
||||
}
|
||||
None => {
|
||||
panic!("when targeting MUSL either the build.musl-root \
|
||||
option or the target.$TARGET.musl-root one must \
|
||||
panic!("when targeting MUSL either the rust.musl-root \
|
||||
option or the target.$TARGET.musl-root option must \
|
||||
be specified in config.toml")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue