test: don't use TS_REUSE_ALLOCATOR on Darwin systems

For some reason, the linker seems to behave a bit differently with `-exported_symbols_list` on macOS vs other operating systems, so we'll disable this for now
This commit is contained in:
Amaan Qureshi 2024-02-26 19:22:38 -05:00
parent 527848d7c0
commit eb35502f06
2 changed files with 1 additions and 3 deletions

View file

@ -602,6 +602,7 @@ impl Loader {
// Always use the same allocator in the CLI as any scanner, useful for debugging and
// tracking memory leaks in tests.
#[cfg(not(any(target_os = "macos", target_os = "ios")))]
command.arg("-DTS_REUSE_ALLOCATOR");
let output = command.output().with_context(|| {