bump axum-server-dual-protocol, remove 2 unnecessary attribute check

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry committed 2024-04-19 23:39:28 -04:00
1 parent 7eb1541ddd
commit 8df3f56d27
3 files changed
+49 -147

No files matched your search

+1 -7
View File
@@ -43,13 +43,7 @@ mod routes;
#[global_allocator]
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
#[cfg(all(
not(target_env = "msvc"),
not(target_os = "macos"),
feature = "hardened_malloc",
target_os = "linux",
not(feature = "jemalloc")
))]
#[cfg(all(not(target_env = "msvc"), feature = "hardened_malloc", target_os = "linux", not(feature = "jemalloc")))]
#[global_allocator]
static GLOBAL: hardened_malloc_rs::HardenedMalloc = hardened_malloc_rs::HardenedMalloc;