From 09920401da6f05ec49d2e1ea71c21003c608abfd Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Thu, 11 Aug 2022 11:08:30 +0200 Subject: [PATCH] fix: Turn of pprof default features (#491) One of the pprof default features (`cpp`) pulls in `symbolic-demangle`, which is used for demangling, but we don't use that feature at all since we are only interested in raw instruction addrs which we symbolicate and demangle server-side. --- sentry-core/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sentry-core/Cargo.toml b/sentry-core/Cargo.toml index b814c4c0..0f3fdaf9 100644 --- a/sentry-core/Cargo.toml +++ b/sentry-core/Cargo.toml @@ -41,10 +41,10 @@ build_id = { version = "0.2.1", optional = true } findshlibs = { version = "=0.10.2", optional = true } [target.'cfg(all(not(target_os = "windows"), not(all(target_os = "macos", target_arch = "aarch64"))))'.dependencies] -pprof = { version = "0.10.0", optional = true } +pprof = { version = "0.10.0", optional = true, default-features = false } [target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies] -pprof = { version = "0.10.0", optional = true, features = ["frame-pointer"]} +pprof = { version = "0.10.0", optional = true, default-features = false, features = ["frame-pointer"]} [dev-dependencies] # Because we re-export all the public API in `sentry`, we actually run all the