-
Notifications
You must be signed in to change notification settings - Fork 412
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
Unable to init project because of compiler errors with proc-macro2 #219
Comments
I am trying out wasm-pack for the first time and also hit this issue. But I think I found the solution. Update to:
and adjust your features to:
That was enough at least for me to get a hello world to compile. If I am understanding correctly, this is fallout from this rust change and this wasm-bindgen change. |
hey @ef4 and @Mackiovello - this is exactly correct. will be updating the tutorials today- unless someone wants to make the PR to the docs! thanks for filing <3 |
@ashleygwilliams we would have to update the error message for |
After looking at this, it seems like the only thing needed to fix it was to update rust with |
oh huh. thanks for the research @Mackiovello i'll take a look now and see if i can reproduce and if we need any sort of update. i'm giving a talk on this tonight so it's important haah! |
@Mackiovello i was able to reproduce. i think it's best for us to update the example to be inline with wasm-bindgen anyways. i'll be filing a PR :) |
heads up this will be included in a point release i intend to get out today! thanks again for the report- i super appreciate it <3 :) |
Have you tried to update to the latest nightly with |
Steps to reproduce:
More information:
Am I doing something wrong here or is this a regression?
The text was updated successfully, but these errors were encountered: