From 2292ba0dd7bd68a8c2c30d7fe28b580e1124ed3c Mon Sep 17 00:00:00 2001 From: Dylan Chen Date: Tue, 17 Oct 2023 14:29:08 +0800 Subject: [PATCH] add disable_initial_exec_tls feature to common --- src/common/Cargo.toml | 4 ++++ src/java_binding/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/Cargo.toml b/src/common/Cargo.toml index fd105333f645d..df676f0650183 100644 --- a/src/common/Cargo.toml +++ b/src/common/Cargo.toml @@ -158,3 +158,7 @@ path = "src/bin/default_config.rs" [lints] workspace = true + +[features] +default = [] +disable_initial_exec_tls = ["tikv-jemalloc-ctl/disable_initial_exec_tls"] \ No newline at end of file diff --git a/src/java_binding/Cargo.toml b/src/java_binding/Cargo.toml index 477f19878cbd9..21351863e9d65 100644 --- a/src/java_binding/Cargo.toml +++ b/src/java_binding/Cargo.toml @@ -12,7 +12,7 @@ normal = ["workspace-hack"] [dependencies] jni = "0.21.1" prost = { workspace = true } -risingwave_common = { workspace = true } +risingwave_common = { workspace = true, features = ["disable_initial_exec_tls"] } risingwave_jni_core = { workspace = true } risingwave_pb = { workspace = true } serde = { version = "1.0", features = ["derive"] }