-
Notifications
You must be signed in to change notification settings - Fork 177
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
Not compiling with newest version of dependencies #427
Comments
For anyone trying to get around this you can try this in your Cargo.toml wasm-bindgen = "=0.2.84" |
Hello, downgrading Is there another way of fixing this? |
Jeez, I'm not pinned to a higher version, but why did I have to waste three hours debugging this? |
The suggestion by @eduardvercaemer does fix the compile error, but pinning I think I found the issue! It is within these lines (Exactly where the error points to): stdweb/src/webcore/ffi/wasm_bindgen.rs Lines 63 to 70 in 9b418d9
I couldn't make sense of the error, but I looked at the docs of the Closure<dyn Fn(...) -> ...> On line 75 and 76 there is a warning: This crate really needs a general overhaul to fix all the warnings! It has thousands of dependents, it is crucial that this crate does not brake! @koute |
So the project is abandoned then? I was hoping to use it as a way of integrating 3rd party libraries with no Rust bindings (Like Chart.js). Any suggestion for automatic binding generation for such libraries? |
After updating wasm-bindgen to 0.2.86 (I think) I get a compilation error when trying to compile with wasm
This was with
rustc 1.71.0-nightly (5ea3f0ae0 2023-05-23)
but fails on stable alsoThe text was updated successfully, but these errors were encountered: