mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
use platform-independent tempdir
This commit is contained in:
parent
a345649856
commit
8f67129eae
4 changed files with 9 additions and 8 deletions
|
@ -4237,7 +4237,7 @@ pub fn build_wasm_test_wrapper<'a, 'ctx, 'env>(
|
|||
opt_level,
|
||||
procedures,
|
||||
entry_point,
|
||||
Some(Path::new("/tmp/test.ll")),
|
||||
Some(&std::env::temp_dir().join("test.ll")),
|
||||
);
|
||||
|
||||
promote_to_wasm_test_wrapper(env, mod_solutions, entry_point.symbol, entry_point.layout)
|
||||
|
@ -4254,7 +4254,7 @@ pub fn build_procedures_return_main<'a, 'ctx, 'env>(
|
|||
opt_level,
|
||||
procedures,
|
||||
entry_point,
|
||||
Some(Path::new("/tmp/test.ll")),
|
||||
Some(&std::env::temp_dir().join("test.ll")),
|
||||
);
|
||||
|
||||
promote_to_main_function(env, mod_solutions, entry_point.symbol, entry_point.layout)
|
||||
|
@ -4272,7 +4272,7 @@ pub fn build_procedures_expose_expects<'a, 'ctx, 'env>(
|
|||
opt_level,
|
||||
procedures,
|
||||
entry_point,
|
||||
Some(Path::new("/tmp/test.ll")),
|
||||
Some(&std::env::temp_dir().join("test.ll")),
|
||||
);
|
||||
|
||||
let captures_niche = CapturesNiche::no_niche();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue