mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
valgrind flag
This commit is contained in:
parent
35a74a1fe4
commit
030a504bd2
5 changed files with 39 additions and 2 deletions
|
@ -142,10 +142,11 @@ pub fn build_and_preprocess_host(
|
|||
target: &Triple,
|
||||
host_input_path: &Path,
|
||||
exposed_to_host: Vec<String>,
|
||||
target_valgrind: bool,
|
||||
) -> io::Result<()> {
|
||||
let dummy_lib = host_input_path.with_file_name("libapp.so");
|
||||
generate_dynamic_lib(target, exposed_to_host, &dummy_lib)?;
|
||||
rebuild_host(opt_level, target, host_input_path, Some(&dummy_lib));
|
||||
rebuild_host(opt_level, target, host_input_path, Some(&dummy_lib), target_valgrind);
|
||||
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