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:
Nick Stevens 2016-10-04 20:22:51 -05:00
parent 51ef2b315b
commit 7937f6ccde
1 changed files with 2 additions and 2 deletions

View File

@ -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")
}
}