From 0a5b5e8cc562aa09a3def826f31b2627ef3fc7e1 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 25 Jun 2024 08:18:38 -0700 Subject: [PATCH] Fix libc_alloc linking --- ffi/capi/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffi/capi/Cargo.toml b/ffi/capi/Cargo.toml index cd3fb1b34f9..a17afea2749 100644 --- a/ffi/capi/Cargo.toml +++ b/ffi/capi/Cargo.toml @@ -143,8 +143,8 @@ log = { workspace = true, optional = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] # Logging uses diplomat_runtime bindings in wasm, we only need this for native simple_logger = { workspace = true, optional = true } +libc_alloc = { workspace = true, features = ["global"], optional = true } [target.'cfg(not(any(target_arch = "wasm32", target_os = "none")))'.dependencies] icu_provider_fs = { workspace = true, optional = true } -libc_alloc = { workspace = true, features = ["global"], optional = true }