crude prototype

This commit is contained in:
Folkert 2021-02-20 22:56:01 +01:00
parent df206edd88
commit daf6de950e
2 changed files with 10 additions and 5 deletions

View file

@ -135,6 +135,9 @@ 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(other) => {
panic!("build_file failed with error:\n{:?}", other);
}