Skip to content
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
2 changes: 1 addition & 1 deletion test/rust/bindgen_greeter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ path = "src/main.rs"
# 0.2.128 is the first release whose emscripten glue does not need an aggregate
# `wasmExports` object (wasm-bindgen/wasm-bindgen#5270); must match the wasm-bindgen-cli
# version exactly.
wasm-bindgen = "0.2.128"
wasm-bindgen = "=0.2.128"
4 changes: 2 additions & 2 deletions test/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -15364,7 +15364,7 @@ def test_wasm_bindgen_integration(self):
copytree(test_file('rust/bindgen_integration'), '.')
# Pin the library to the (managed) wasm-bindgen-cli version on PATH;
# wasm-bindgen requires the CLI and the library to match exactly.
self.run_process(['cargo', 'add', 'wasm-bindgen@0.2.128'])
self.run_process(['cargo', 'add', 'wasm-bindgen@=0.2.128'])
self.run_process(['cargo', 'build'])
lib = 'target/wasm32-unknown-emscripten/debug/libbindgen_integration.a'
self.assertExists(lib)
Expand Down Expand Up @@ -15460,7 +15460,7 @@ def test_wasm_bindgen_tsd_multi_return(self):
Ok(42)
}
''')
self.run_process(['cargo', 'add', 'wasm-bindgen@0.2.128'])
self.run_process(['cargo', 'add', 'wasm-bindgen@=0.2.128'])
self.run_process(['cargo', 'build'])
lib = 'target/wasm32-unknown-emscripten/debug/libbindgen_integration.a'
create_file('empty.c', '')
Expand Down
Loading