]> git.puffer.fish Git - matthieu/nova.git/commitdiff
fix msys2 build
authorMatthieuCoder <matthieu@matthieu-dev.xyz>
Sun, 15 Jan 2023 15:03:22 +0000 (19:03 +0400)
committerMatthieuCoder <matthieu@matthieu-dev.xyz>
Sun, 15 Jan 2023 15:03:22 +0000 (19:03 +0400)
exes/gateway/Cargo.toml
exes/gateway/src/main.rs
exes/ratelimit/Cargo.toml
exes/ratelimit/src/main.rs
exes/rest/Cargo.toml
exes/rest/src/main.rs
exes/webhook/Cargo.toml
exes/webhook/src/main.rs

index 98a1ae83e2dc3a8e1fadbadba0bb680e6b0cb072..e7a08131f12697d97990c7c18f733a79ebb323fb 100644 (file)
@@ -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
index 6cac7e1c1b9f70c600c2730b98995e7fbc27c999..900171c802be5f482c126c9570310f760fe160da 100644 (file)
@@ -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;
 
index b011d381ee975da2469d3a61489a9b13ae99fd72..1d28f3ba9725f4461a14d2e853db6edea18119f1 100644 (file)
@@ -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
index d16e7d371009c384849ae8141b70081e75357e73..b7643679ecd0dc50c6ce70f3dc16951147a51c71 100644 (file)
@@ -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;
 
index 3d362b21dfccfa5f9b8fcec9759ae103169ba54c..fb495a073430fb59d632b29762f4d438270ae852 100644 (file)
@@ -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
index 643bc89cf45289a004da6ea0d587b89d07e87197..1e73e09867586a6e09df7e726633adbfa8fc8a38 100644 (file)
@@ -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;
 
index af256c8d33e4dd97e333ed9bac35419c5694f04a..e4fc0acb59cce281d8fb8953e547872a8849addb 100644 (file)
@@ -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
index 9432dbdbeca4d6021c163ef3d51538caa7c3da54..bbacda7b8ccf85f175e0a99320d83e7ceea3e23a 100644 (file)
@@ -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;