mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
env variable for writing out the obj file
This commit is contained in:
parent
9d0fd50ecb
commit
821cc0cfd8
1 changed files with 1 additions and 2 deletions
|
@ -215,8 +215,7 @@ pub fn helper(
|
|||
let builtins_host_tempfile =
|
||||
roc_bitcode::host_tempfile().expect("failed to write host builtins object to tempfile");
|
||||
|
||||
// TODO make this an environment variable
|
||||
if false {
|
||||
if std::env::var("ROC_DEV_WRITE_OBJ").is_ok() {
|
||||
let file_path = std::env::temp_dir().join("app.o");
|
||||
println!("gen-test object file written to {}", file_path.display());
|
||||
std::fs::copy(&app_o_file, file_path).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue