mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
safe generated object file
This commit is contained in:
parent
63ff495763
commit
cfe21a4894
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ pub fn helper(
|
||||||
roc_bitcode::host_tempfile().expect("failed to write host builtins object to tempfile");
|
roc_bitcode::host_tempfile().expect("failed to write host builtins object to tempfile");
|
||||||
|
|
||||||
// TODO make this an environment variable
|
// TODO make this an environment variable
|
||||||
if false {
|
if true {
|
||||||
let file_path = std::env::temp_dir().join("app.o");
|
let file_path = std::env::temp_dir().join("app.o");
|
||||||
println!("gen-test object file written to {}", file_path.display());
|
println!("gen-test object file written to {}", file_path.display());
|
||||||
std::fs::copy(&app_o_file, file_path).unwrap();
|
std::fs::copy(&app_o_file, file_path).unwrap();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue