Improved paths, and added rust specific errors
This commit is contained in:
+3
-2
@@ -14,8 +14,9 @@ fn main() {
|
||||
|
||||
match args[1].as_str() {
|
||||
"run" | "build" | "r" | "b" => {
|
||||
let config = transpiler::build();
|
||||
match builder::build(args, config) {
|
||||
let (config, root) = transpiler::build();
|
||||
|
||||
match builder::build(args, config, root) {
|
||||
Ok(diagnostics) => builder::print_diagnostics(diagnostics),
|
||||
Err(diagnostics) => builder::print_diagnostics(diagnostics),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user