better formatting

This commit is contained in:
Folkert 2021-02-21 00:14:15 +01:00
parent daf6de950e
commit 7f14f27ee4
4 changed files with 115 additions and 14 deletions

View file

@ -135,8 +135,8 @@ pub fn build(target: &Triple, matches: &ArgMatches, run_after_build: bool) -> io
Err(LoadingProblem::ParsingFailedReport(report)) => {
print!("{}", report);
}
Err(LoadingProblem::NoPlatform) => {
print!("The file you ran did not provide a platform\nMaybe you are trying to run an Interface module?");
Err(LoadingProblem::NoPlatform(report)) => {
print!("{}", report);
}
Err(other) => {
panic!("build_file failed with error:\n{:?}", other);