valgrind fix for newer intel processors

This commit is contained in:
Anton-4 2022-08-12 12:06:31 +02:00
parent 07eed2c4a6
commit 72e60bceea
No known key found for this signature in database
GPG key ID: A13F4A6E21141925
5 changed files with 11 additions and 45 deletions

View file

@ -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");