Skip to content

Commit

Permalink
rustbuild: Fix panic message when musl-root not set
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nastevens committed Oct 5, 2016
1 parent 51ef2b3 commit 7937f6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bootstrap/sanity.rs
Expand Up @@ -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")
}
}
Expand Down

0 comments on commit 7937f6c

Please sign in to comment.