mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
valgrind fix for newer intel processors
This commit is contained in:
parent
07eed2c4a6
commit
72e60bceea
5 changed files with 11 additions and 45 deletions
|
@ -79,17 +79,10 @@ pub fn build_and_preprocess_host(
|
|||
preprocessed_host_path: &Path,
|
||||
exposed_to_host: Vec<String>,
|
||||
exported_closure_types: Vec<String>,
|
||||
target_valgrind: bool,
|
||||
) {
|
||||
let dummy_lib = host_input_path.with_file_name("libapp.so");
|
||||
generate_dynamic_lib(target, exposed_to_host, exported_closure_types, &dummy_lib);
|
||||
rebuild_host(
|
||||
opt_level,
|
||||
target,
|
||||
host_input_path,
|
||||
Some(&dummy_lib),
|
||||
target_valgrind,
|
||||
);
|
||||
rebuild_host(opt_level, target, host_input_path, Some(&dummy_lib));
|
||||
let dynhost = host_input_path.with_file_name("dynhost");
|
||||
let metadata = host_input_path.with_file_name("metadata");
|
||||
// let prehost = host_input_path.with_file_name("preprocessedhost");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue