Skip to content

Commit

Permalink
Enable upgrade of wasm encoder dependencies to 0.213 by specifying "s…
Browse files Browse the repository at this point in the history
…hared" in TableType (#280)
  • Loading branch information
burakemir authored Nov 12, 2024
1 parent 9b59ca6 commit 1e5d3e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ leb128 = "0.2.4"
log = "0.4.8"
rayon = { version = "1.1.0", optional = true }
walrus-macro = { path = './crates/macro', version = '=0.22.0' }
wasm-encoder = "0.212.0"
wasmparser = "0.212.0"
wasm-encoder = "0.213.0"
wasmparser = "0.213.0"
gimli = "0.26.0"

[features]
Expand Down
1 change: 1 addition & 0 deletions src/module/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ impl Emit for ModuleImports {
table64: table.table64,
minimum: table.initial,
maximum: table.maximum,
shared: false,
})
}
ImportKind::Memory(id) => {
Expand Down
1 change: 1 addition & 0 deletions src/module/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ impl Emit for ModuleTables {
RefType::Externref => wasm_encoder::RefType::EXTERNREF,
RefType::Funcref => wasm_encoder::RefType::FUNCREF,
},
shared: false,
});
}

Expand Down

0 comments on commit 1e5d3e9

Please sign in to comment.