use ROC_ZIG environment variable to configure which zig is used

This commit is contained in:
Folkert 2021-12-25 22:27:52 +01:00
parent f314abfed9
commit 022b1ca83a
6 changed files with 44 additions and 36 deletions

View file

@ -369,7 +369,7 @@ pub fn helper_wasm<'a>(
use std::process::Command;
Command::new("zig")
Command::new(&crate::helpers::zig_executable())
.current_dir(dir_path)
.args(&[
"wasm-ld",