Skip to content

Commit

Permalink
Updated wasmparser dependency to 0.214.0 (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
trzeciak authored Jul 18, 2024
1 parent 7dc28dd commit 9741cf8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
**Features**

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

## 12.9.2

Expand Down
4 changes: 2 additions & 2 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ tracing = "0.1.34"
tracing-subscriber = "0.3.11"
uuid = "1.3.0"
walkdir = "2.3.1"
wasmparser = "0.209.1"
wasmparser = "0.214.0"
watto = { version = "0.1.0", features = ["writer", "strings"] }
# We are currently pinning a known good version prior to https://github.com/zip-rs/zip2/issues/189
zip = { version = "=2.1.1", default-features = false, features = ["deflate"] }
Expand Down
8 changes: 4 additions & 4 deletions symbolic-debuginfo/src/wasm/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
use super::WasmError;
use crate::base::{ObjectKind, Symbol};
use wasmparser::{
BinaryReader, CompositeType, FuncValidatorAllocations, NameSectionReader, Payload, TypeRef,
Validator, WasmFeatures,
BinaryReader, CompositeInnerType, FuncValidatorAllocations, NameSectionReader, Payload,
TypeRef, Validator, WasmFeatures,
};

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

0 comments on commit 9741cf8

Please sign in to comment.