summaryrefslogtreecommitdiff
path: root/exes/webhook
diff options
context:
space:
mode:
Diffstat (limited to 'exes/webhook')
-rw-r--r--exes/webhook/Cargo.toml2
-rw-r--r--exes/webhook/src/main.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/exes/webhook/Cargo.toml b/exes/webhook/Cargo.toml
index af256c8..e4fc0ac 100644
--- a/exes/webhook/Cargo.toml
+++ b/exes/webhook/Cargo.toml
@@ -21,5 +21,5 @@ anyhow = "1.0.68"
async-nats = "0.26.0"
-[target.'cfg(not(target_env = "msvc"))'.dependencies]
+[target.'cfg(not(target_os = "windows"))'.dependencies]
tikv-jemallocator = "0.5" \ No newline at end of file
diff --git a/exes/webhook/src/main.rs b/exes/webhook/src/main.rs
index 9432dbd..bbacda7 100644
--- a/exes/webhook/src/main.rs
+++ b/exes/webhook/src/main.rs
@@ -1,10 +1,10 @@
use leash::ignite;
use webhook::WebhookServer;
-#[cfg(not(target_env = "msvc"))]
+#[cfg(not(target_os = "windows"))]
use tikv_jemallocator::Jemalloc;
-#[cfg(not(target_env = "msvc"))]
+#[cfg(not(target_os = "windows"))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;