diff options
| author | icecodder <git@icecodder.me> | 2023-01-15 16:09:44 +0100 |
|---|---|---|
| committer | icecodder <git@icecodder.me> | 2023-01-15 16:09:44 +0100 |
| commit | 17de53a1f58fe6ceff17e7a30a300587a586c53b (patch) | |
| tree | 19ddeff6cb7c40e59acf7542628051b7a304a256 | |
| parent | 8e7a77e5c3ec66a3174afb6c9942640c321fe0be (diff) | |
| parent | 482a11bb3f97b934f6b1db03c507095691f11e50 (diff) | |
Merge branch 'main' of github.com:discordnova/Nova
| -rw-r--r-- | exes/gateway/Cargo.toml | 2 | ||||
| -rw-r--r-- | exes/gateway/src/main.rs | 4 | ||||
| -rw-r--r-- | exes/ratelimit/Cargo.toml | 2 | ||||
| -rw-r--r-- | exes/ratelimit/src/main.rs | 4 | ||||
| -rw-r--r-- | exes/rest/Cargo.toml | 2 | ||||
| -rw-r--r-- | exes/rest/src/main.rs | 4 | ||||
| -rw-r--r-- | exes/webhook/Cargo.toml | 2 | ||||
| -rw-r--r-- | exes/webhook/src/main.rs | 4 |
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; |
