mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
Disable mimalloc for wasm target
This commit is contained in:
parent
20eba95383
commit
dad0b6d627
2 changed files with 5 additions and 4 deletions
|
@ -9,10 +9,9 @@ mod translate;
|
|||
mod types;
|
||||
mod vdbe;
|
||||
|
||||
use mimalloc::MiMalloc;
|
||||
|
||||
#[cfg(not(target_family = "wasm"))]
|
||||
#[global_allocator]
|
||||
static GLOBAL: MiMalloc = MiMalloc;
|
||||
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
use anyhow::Result;
|
||||
use fallible_iterator::FallibleIterator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue