mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
more correct error msg
This commit is contained in:
parent
2cf7c29675
commit
224378cc6a
@ -384,7 +384,8 @@ impl Builder {
|
||||
File::open(self.input.join("toolstates-linux.json")).ok()
|
||||
.and_then(|f| serde_json::from_reader(&f).ok());
|
||||
let toolstates = toolstates.unwrap_or_else(|| {
|
||||
println!("WARNING: `toolstates-linux.json` missing; assuming all tools failed");
|
||||
println!("WARNING: `toolstates-linux.json` missing/malformed; \
|
||||
assuming all tools failed");
|
||||
HashMap::default() // Use empty map if anything went wrong.
|
||||
});
|
||||
// Mark some tools as missing based on toolstate.
|
||||
|
Loading…
Reference in New Issue
Block a user