bump axum-server-dual-protocol, remove 2 unnecessary attribute check
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
19255c0c14
commit
ef23c604d7
3 changed files with 49 additions and 147 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue