We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca0f92e commit ccbaa87Copy full SHA for ccbaa87
src/lib.rs
@@ -13,6 +13,12 @@ use serde_json::Value;
13
all(target_os = "linux", target_arch = "x86", not(target_env = "musl"))
14
))]
15
use mimalloc::MiMalloc;
16
+#[cfg(any(
17
+ not(target_os = "linux"),
18
+ all(target_os = "linux", target_env = "musl"),
19
+ all(target_os = "linux", target_arch = "x86_64", not(target_env = "musl")),
20
+ all(target_os = "linux", target_arch = "x86", not(target_env = "musl"))
21
+))]
22
#[global_allocator]
23
static GLOBAL: MiMalloc = MiMalloc;
24
0 commit comments