summaryrefslogtreecommitdiff
path: root/exes
diff options
context:
space:
mode:
Diffstat (limited to 'exes')
-rw-r--r--exes/gateway/Cargo.toml2
-rw-r--r--exes/gateway/src/main.rs4
-rw-r--r--exes/ratelimit/Cargo.toml2
-rw-r--r--exes/ratelimit/src/main.rs4
-rw-r--r--exes/rest/Cargo.toml2
-rw-r--r--exes/rest/src/main.rs4
-rw-r--r--exes/webhook/Cargo.toml2
-rw-r--r--exes/webhook/src/main.rs4
8 files changed, 12 insertions, 12 deletions
diff --git a/exes/gateway/Cargo.toml b/exes/gateway/Cargo.toml
index 98a1ae8..e7a0813 100644
--- a/exes/gateway/Cargo.toml
+++ b/exes/gateway/Cargo.toml
@@ -29,5 +29,5 @@ tracing-opentelemetry = "0.18.0"
opentelemetry = "0.18.0"
opentelemetry-http = "0.7.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/gateway/src/main.rs b/exes/gateway/src/main.rs
index 6cac7e1..900171c 100644
--- a/exes/gateway/src/main.rs
+++ b/exes/gateway/src/main.rs
@@ -1,10 +1,10 @@
use gateway::GatewayServer;
use leash::ignite;
-#[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;
diff --git a/exes/ratelimit/Cargo.toml b/exes/ratelimit/Cargo.toml
index b011d38..1d28f3b 100644
--- a/exes/ratelimit/Cargo.toml
+++ b/exes/ratelimit/Cargo.toml
@@ -40,5 +40,5 @@ test-log = { version = "0.2.11", features = ["log", "trace"] }
name = "bucket"
harness = false
-[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/ratelimit/src/main.rs b/exes/ratelimit/src/main.rs
index d16e7d3..b764367 100644
--- a/exes/ratelimit/src/main.rs
+++ b/exes/ratelimit/src/main.rs
@@ -1,10 +1,10 @@
use leash::ignite;
use ratelimit::RatelimiterServerComponent;
-#[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;
diff --git a/exes/rest/Cargo.toml b/exes/rest/Cargo.toml
index 3d362b2..fb495a0 100644
--- a/exes/rest/Cargo.toml
+++ b/exes/rest/Cargo.toml
@@ -31,5 +31,5 @@ opentelemetry = "0.18.0"
opentelemetry-http = "0.7.0"
tracing-opentelemetry = "0.18.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/rest/src/main.rs b/exes/rest/src/main.rs
index 643bc89..1e73e09 100644
--- a/exes/rest/src/main.rs
+++ b/exes/rest/src/main.rs
@@ -1,10 +1,10 @@
use leash::ignite;
use rest::ReverseProxyServer;
-#[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;
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;