Skip to content

Commit

Permalink
deps: Update symbolic to 12.10.0 (#1500)
Browse files Browse the repository at this point in the history
Because of getsentry/symbolic#849,
Elf/Wasm debug files can now contain source information.
We update `FileType::sources` to reflect this.
  • Loading branch information
loewenheim authored Jul 24, 2024
1 parent acabf19 commit f48a648
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 34 deletions.
50 changes: 25 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/process-event/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ reqwest = { workspace = true, features = [
] }
serde = { version = "1.0.137", features = ["derive"] }
serde_json = "1.0.81"
symbolic-common = "12.9.2"
symbolic-common = "12.10.0"
2 changes: 1 addition & 1 deletion crates/symbolicator-js/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sentry = { version = "0.34.0", features = ["tracing"] }
serde = { version = "1.0.137", features = ["derive", "rc"] }
serde_json = "1.0.81"
sha2 = "0.10.6"
symbolic = { version = "12.9.2", features = ["common-serde", "sourcemapcache"] }
symbolic = { version = "12.10.0", features = ["common-serde", "sourcemapcache"] }
symbolicator-service = { path = "../symbolicator-service" }
symbolicator-sources = { path = "../symbolicator-sources" }
tempfile = "3.2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicator-native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ once_cell = "1.18.0"
regex = "1.5.5"
sentry = { version = "0.34.0", features = ["tracing"] }
serde = { version = "1.0.137", features = ["derive", "rc"] }
symbolic = { version = "12.9.2", features = [
symbolic = { version = "12.10.0", features = [
"cfi",
"common-serde",
"debuginfo",
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicator-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ serde = { version = "1.0.137", features = ["derive", "rc"] }
serde_json = "1.0.81"
serde_yaml = "0.9.14"
sha2 = "0.10.6"
symbolic = { version = "12.9.2", features = [
symbolic = { version = "12.10.0", features = [
"cfi",
"common-serde",
"debuginfo",
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicator-sources/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ anyhow = "1.0.68"
aws-types = "1.0.1"
glob = "0.3.0"
serde = { version = "1.0.137", features = ["derive", "rc"] }
symbolic = "12.9.2"
symbolic = "12.10.0"
url = { version = "2.2.0", features = ["serde"] }

[dev-dependencies]
Expand Down
8 changes: 7 additions & 1 deletion crates/symbolicator-sources/src/filetype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,13 @@ impl FileType {
/// Source providing file types.
#[inline]
pub fn sources() -> &'static [Self] {
&[FileType::SourceBundle, FileType::PortablePdb]
&[
Self::SourceBundle,
Self::PortablePdb,
// DWARF files can contain sources as of https://github.com/getsentry/symbolic/pull/849.
Self::ElfDebug,
Self::WasmDebug,
]
}

/// Given an object type, returns filetypes in the order they should be tried.
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sentry = { version = "0.34.0", features = [
] }
serde = { version = "1.0.137", features = ["derive", "rc"] }
serde_json = "1.0.81"
symbolic = "12.9.2"
symbolic = "12.10.0"
symbolicator-crash = { path = "../symbolicator-crash", optional = true }
symbolicator-js = { path = "../symbolicator-js" }
symbolicator-native = { path = "../symbolicator-native" }
Expand Down
2 changes: 1 addition & 1 deletion crates/symbolicli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ prettytable-rs = "0.10.0"
reqwest = { workspace = true, features = ["json"] }
serde = { version = "1.0.137", features = ["derive", "rc"] }
serde_json = "1.0.81"
symbolic = "12.9.2"
symbolic = "12.10.0"
symbolicator-js = { path = "../symbolicator-js" }
symbolicator-native = { path = "../symbolicator-native" }
symbolicator-service = { path = "../symbolicator-service" }
Expand Down
2 changes: 1 addition & 1 deletion crates/symsorter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rayon = "1.5.2"
regex = "1.5.5"
serde = { version = "1.0.137", features = ["derive"] }
serde_json = "1.0.81"
symbolic = { version = "12.9.2", features = ["debuginfo-serde"] }
symbolic = { version = "12.10.0", features = ["debuginfo-serde"] }
walkdir = "2.3.1"
# NOTE: zip:0.6 by default depends on a version of zstd which conflicts with our other dependencies
zip = { version = "2.1.1", default-features = false, features = [
Expand Down

0 comments on commit f48a648

Please sign in to comment.