mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Closes #4423, link build command refactoring
This commit is contained in:
parent
bc2ec738a0
commit
4ec43d9964
17 changed files with 258 additions and 188 deletions
|
@ -12,6 +12,7 @@ use roc_load::{EntryPoint, ExecutionMode, LoadConfig, Threading};
|
|||
use roc_mono::ir::OptLevel;
|
||||
use roc_region::all::LineInfo;
|
||||
use roc_reporting::report::RenderTarget;
|
||||
use roc_utils::zig;
|
||||
use target_lexicon::Triple;
|
||||
|
||||
#[cfg(feature = "gen-llvm-wasm")]
|
||||
|
@ -456,9 +457,7 @@ fn llvm_module_to_wasm_file(
|
|||
.write_to_file(llvm_module, file_type, &test_a_path)
|
||||
.unwrap();
|
||||
|
||||
use std::process::Command;
|
||||
|
||||
let output = Command::new(&crate::helpers::zig_executable())
|
||||
let output = zig()
|
||||
.current_dir(dir_path)
|
||||
.args(&[
|
||||
"wasm-ld",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue