mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 07:17:50 +03:00
windows: temporarily do not drop gen_test results
This commit is contained in:
parent
3e1ca37b9e
commit
57201db2f6
@ -589,12 +589,16 @@ macro_rules! assert_llvm_evals_to {
|
||||
#[allow(clippy::redundant_closure_call)]
|
||||
let given = $transform(raw);
|
||||
assert_eq!(&given, &$expected, "LLVM test failed");
|
||||
|
||||
// on Windows, there are issues with the drop instances of some roc_std
|
||||
#[cfg(windows)]
|
||||
std::mem::forget(given);
|
||||
}
|
||||
Err(msg) => panic!("Roc failed with message: \"{}\"", msg),
|
||||
}
|
||||
|
||||
// artificially extend the lifetime of `lib`
|
||||
let _ = lib;
|
||||
lib.close().unwrap();
|
||||
};
|
||||
|
||||
($src:expr, $expected:expr, $ty:ty) => {
|
||||
|
Loading…
Reference in New Issue
Block a user