mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
WIP
This commit is contained in:
parent
7b4378219e
commit
d211ca7e61
30 changed files with 679 additions and 614 deletions
|
@ -107,15 +107,16 @@ pub fn build(target: &Triple, matches: &ArgMatches, run_after_build: bool) -> io
|
|||
}
|
||||
});
|
||||
|
||||
let binary_path = build::build_file(
|
||||
let res_binary_path = build::build_file(
|
||||
target,
|
||||
src_dir,
|
||||
path,
|
||||
opt_level,
|
||||
emit_debug_info,
|
||||
LinkType::Executable,
|
||||
)
|
||||
.expect("TODO gracefully handle build_file failing");
|
||||
);
|
||||
|
||||
let binary_path = res_binary_path.expect("TODO gracefully handle build_file failing");
|
||||
|
||||
if run_after_build {
|
||||
// Run the compiled app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue