Skip to content

Commit 9741cf8

Browse files
authored
Updated wasmparser dependency to 0.214.0 (#853)
1 parent 7dc28dd commit 9741cf8

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
**Features**
66

77
- Support for DWARFv5 embedded source code extension ([#849](https://github.com/getsentry/symbolic/pull/849))
8+
- Updated wasmparser dependency to 0.214.0 ([#849](https://github.com/getsentry/symbolic/pull/853))
89

910
## 12.9.2
1011

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ tracing = "0.1.34"
6060
tracing-subscriber = "0.3.11"
6161
uuid = "1.3.0"
6262
walkdir = "2.3.1"
63-
wasmparser = "0.209.1"
63+
wasmparser = "0.214.0"
6464
watto = { version = "0.1.0", features = ["writer", "strings"] }
6565
# We are currently pinning a known good version prior to https://github.com/zip-rs/zip2/issues/189
6666
zip = { version = "=2.1.1", default-features = false, features = ["deflate"] }

symbolic-debuginfo/src/wasm/parser.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
use super::WasmError;
44
use crate::base::{ObjectKind, Symbol};
55
use wasmparser::{
6-
BinaryReader, CompositeType, FuncValidatorAllocations, NameSectionReader, Payload, TypeRef,
7-
Validator, WasmFeatures,
6+
BinaryReader, CompositeInnerType, FuncValidatorAllocations, NameSectionReader, Payload,
7+
TypeRef, Validator, WasmFeatures,
88
};
99

1010
#[derive(Default)]
@@ -83,8 +83,8 @@ impl<'data> super::WasmObject<'data> {
8383
for (i, ty) in tsr.into_iter().enumerate() {
8484
let mut types = ty?.into_types();
8585
let ty_is_func = matches!(
86-
types.next().map(|s| s.composite_type),
87-
Some(CompositeType::Func(_))
86+
types.next().map(|s| s.composite_type.inner),
87+
Some(CompositeInnerType::Func(_))
8888
);
8989
if types.next().is_none() && ty_is_func {
9090
func_sigs.set(i, true);

0 commit comments

Comments
 (0)