From 2a0e9c930d846b27ce8e081abd67f1ce3fe444db Mon Sep 17 00:00:00 2001 From: discord9 <55937128+discord9@users.noreply.github.com> Date: Mon, 12 May 2025 12:54:54 +0800 Subject: [PATCH] chore: mv anyhow depend out of cfg (#6081) --- src/common/mem-prof/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/mem-prof/Cargo.toml b/src/common/mem-prof/Cargo.toml index 8c2134fa44..5db752ed21 100644 --- a/src/common/mem-prof/Cargo.toml +++ b/src/common/mem-prof/Cargo.toml @@ -8,6 +8,7 @@ license.workspace = true workspace = true [dependencies] +anyhow = "1" common-error.workspace = true common-macro.workspace = true snafu.workspace = true @@ -21,7 +22,6 @@ jemalloc-pprof-utils = { version = "0.7", package = "pprof_util", features = [ "symbolize", ] } # for parsing jemalloc prof dump jemalloc-pprof-mappings = { version = "0.7", package = "mappings" } # for get the name of functions in the prof dump -anyhow = "1" [target.'cfg(not(windows))'.dependencies.tikv-jemalloc-sys] features = ["stats", "profiling", "unprefixed_malloc_on_supported_platforms"]