Merge pull request #4828 from roc-lang/refactor-build

Refactor build
This commit is contained in:
Ayaz 2022-12-29 18:41:22 -06:00 committed by GitHub
commit 7076c889a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 298 additions and 286 deletions

View file

@ -64,7 +64,6 @@ pub fn helper(
filename,
module_src,
src_dir,
Default::default(),
RocCacheDir::Disallowed,
load_config,
);
@ -209,7 +208,7 @@ pub fn helper(
std::fs::write(&app_o_file, module_out).expect("failed to write object to file");
let builtins_host_tempfile =
bitcode::host_unix_tempfile().expect("failed to write host builtins object to tempfile");
bitcode::host_tempfile().expect("failed to write host builtins object to tempfile");
let (mut child, dylib_path) = link(
&target,