Merge pull request #2278 from rtfeldman/configure-zig-executable

use ROC_ZIG environment variable to configure which zig is used
This commit is contained in:
Lucas 2021-12-26 14:40:48 -05:00 committed by GitHub
commit fe62e59e31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 44 additions and 36 deletions

View file

@ -185,7 +185,7 @@ pub fn helper_wasm<'a, T: Wasm32TestResult>(
"#UserApp_main_1",
];
let linker_output = std::process::Command::new("zig")
let linker_output = std::process::Command::new(&crate::helpers::zig_executable())
.args(args)
.output()
.unwrap();