Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Sep 4, 2023
1 parent 34e29ad commit bdad3c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/compiler/build/src/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,11 +464,11 @@ pub fn rebuild_host(
platform_main_roc.with_file_name(legacy_host_filename(target).unwrap())
};

let env_path = env::var("PATH").unwrap_or_else(|_| "".to_string());
let env_home = env::var("HOME").unwrap_or_else(|_| "".to_string());
let env_cpath = env::var("CPATH").unwrap_or_else(|_| "".to_string());
let env_path = env::var("PATH").unwrap_or_default();
let env_home = env::var("HOME").unwrap_or_default();
let env_cpath = env::var("CPATH").unwrap_or_default();

let builtins_host_tempfile = roc_bitcode::host_tempfile(&target)
let builtins_host_tempfile = roc_bitcode::host_tempfile(target)
.as_ref()
.expect("failed to write host builtins object to tempfile");

Expand Down

0 comments on commit bdad3c9

Please sign in to comment.