Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated wasmparser dependency to 0.214.0 #853

Merged
merged 3 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading