Skip to content

Commit

Permalink
fix: Turn of pprof default features (#491)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Swatinem committed Aug 11, 2022
1 parent bdf0f17 commit 0992040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sentry-core/Cargo.toml
Expand Up @@ -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
Expand Down

0 comments on commit 0992040

Please sign in to comment.