From b471114c0ef8ad88e13cd976338aae50bbc57329 Mon Sep 17 00:00:00 2001 From: dantengsky Date: Tue, 17 Dec 2024 10:35:17 +0800 Subject: [PATCH 1/2] chore: disable unprefixed_malloc_on_supported_platforms disable(remove) cargo feature `tikv-jemalloc-sys/unprefixed_malloc_on_supported_platforms` --- src/common/base/Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/base/Cargo.toml b/src/common/base/Cargo.toml index 62a88b3efce1..82bfb5d78c2b 100644 --- a/src/common/base/Cargo.toml +++ b/src/common/base/Cargo.toml @@ -17,7 +17,6 @@ disable_initial_exec_tls = ["tikv-jemalloc-sys/disable_initial_exec_tls"] memory-profiling = [ "tikv-jemalloc-sys/stats", "tikv-jemalloc-sys/profiling", - "tikv-jemalloc-sys/unprefixed_malloc_on_supported_platforms", ] [dependencies] From 02261f3901e905ff41b554ba292fe745948f3d33 Mon Sep 17 00:00:00 2001 From: dantengsky Date: Tue, 17 Dec 2024 12:58:20 +0800 Subject: [PATCH 2/2] tweak cargo audit config --- .cargo/audit.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cargo/audit.toml b/.cargo/audit.toml index 4334d3ec6c0a..8baefdb68c2a 100644 --- a/.cargo/audit.toml +++ b/.cargo/audit.toml @@ -51,4 +51,6 @@ ignore = [ "RUSTSEC-2024-0376", #rustls network-reachable panic in `Acceptor::accept` "RUSTSEC-2024-0399", + # `idna` accepts Punycode labels that do not produce any non-ASCII when decoded + "RUSTSEC-2024-0421", ]