-
Notifications
You must be signed in to change notification settings - Fork 75
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
Fixed console_error_panic_hook was not working #168
base: master
Are you sure you want to change the base?
Conversation
Is there a reason this is not merged? |
I'd like to chime in that this issue arises in following the beginner tutorials for 'Getting Started with WASM-Pack': A confusing issue for beginners which will no doubt discourage some new users from continuing on their quest to learn Rust. Please merge! 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be merged. The use of non-existent conditional flags doesn't work and creates confusion for beginners who are following the tutorials that use this.
Edit: Technically, the comments are incorrect, as they imply that compiling in release vs debug will result in different behavior.
Co-authored-by: Herohtar <herohtar@tuta.io>
Co-authored-by: Herohtar <herohtar@tuta.io>
console_error_panic_hook wasn't working properly, so I fixed Cargo.toml and src/lib.rs. ( #163 )