From a4251e04486eee712bbae3a5df5029fac45c3fce Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Sat, 1 Feb 2025 20:14:23 -0300 Subject: [PATCH] add dynamic linking in extensions/time/Cargo.toml --- Cargo.lock | 1 + extensions/time/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index efc165059..b2baee91d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1671,6 +1671,7 @@ version = "0.0.13" dependencies = [ "chrono", "limbo_ext", + "mimalloc", "strum", "strum_macros", "thiserror 2.0.11", diff --git a/extensions/time/Cargo.toml b/extensions/time/Cargo.toml index 0f47bd9d7..6220ddffd 100644 --- a/extensions/time/Cargo.toml +++ b/extensions/time/Cargo.toml @@ -12,6 +12,9 @@ crate-type = ["cdylib", "lib"] [features] static = ["limbo_ext/static"] +[target.'cfg(not(target_family = "wasm"))'.dependencies] +mimalloc = { version = "*", default-features = false } + [dependencies] chrono = "0.4.39" limbo_ext = { path = "../core", features = ["static"] }