about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorNick Stevens <nick@bitcurry.com>2016-10-04 20:22:51 -0500
committerNick Stevens <nick@bitcurry.com>2016-10-04 20:22:51 -0500
commit7937f6ccdea38fd76a9ef98b41742d9318e25e4b (patch)
treeb54cb2b2319f594d8355edfefb084f1b89c468bc /src/bootstrap
parent51ef2b315b53717620674cb8b1c874de25c146a7 (diff)
downloadrust-7937f6ccdea38fd76a9ef98b41742d9318e25e4b.tar.gz
rust-7937f6ccdea38fd76a9ef98b41742d9318e25e4b.zip
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.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/sanity.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/sanity.rs b/src/bootstrap/sanity.rs
index c4e6399c2c3..969cd70fd57 100644
--- a/src/bootstrap/sanity.rs
+++ b/src/bootstrap/sanity.rs
@@ -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")
                 }
             }