diff options
Diffstat (limited to 'exes/gateway')
| -rw-r--r-- | exes/gateway/Cargo.toml | 3 | ||||
| -rw-r--r-- | exes/gateway/src/main.rs | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/exes/gateway/Cargo.toml b/exes/gateway/Cargo.toml index 375a020..3916138 100644 --- a/exes/gateway/Cargo.toml +++ b/exes/gateway/Cargo.toml @@ -22,6 +22,3 @@ twilight-gateway = { version = "0.14" } twilight-model = "0.14" bytes = "1.3.0" async-nats = "0.26.0" - -[target.'cfg(not(target_os = "windows"))'.dependencies] -tikv-jemallocator = { workspace = true }
\ No newline at end of file diff --git a/exes/gateway/src/main.rs b/exes/gateway/src/main.rs index 900171c..f1b0298 100644 --- a/exes/gateway/src/main.rs +++ b/exes/gateway/src/main.rs @@ -1,11 +1,4 @@ use gateway::GatewayServer; use leash::ignite; -#[cfg(not(target_os = "windows"))] -use tikv_jemallocator::Jemalloc; - -#[cfg(not(target_os = "windows"))] -#[global_allocator] -static GLOBAL: Jemalloc = Jemalloc; - ignite!(GatewayServer); |
