TypeError: WebAssembly.instantiate(): Imports argument must be present and must be an object #4400
Unanswered
UebelAndre
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm assuming this is again related to #4133. It could be that your tests didn't require any imports, but they do now with reference types enabled by default. Specifically |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the Bug
I was working on bazelbuild/rules_rust#3174 and noticed when I bumped wasm-bindgen from
0.2.93
to0.2.95
I started seeing:I know Bazel is not a consideration for this repo but I'm still hoping someone could shed some light on why I might be seeing this issue on
0.2.95
. I'm currently trying to bump to0.2.99
and see the same failure there.I've tried using the following diff and all it did was change the error slightly
A clear and concise description of what the bug is.
Steps to Reproduce
I do not have a repro outside of Bazel but with bazelbuild/rules_rust#3174 the error can be reproduced:
extensions/wasm_bindgen
bazel test //...
Expected Behavior
There should be no error caused by the test.
Actual Behavior
The test should pass as it used to on
0.2.93
.Beta Was this translation helpful? Give feedback.
All reactions