Skip to content

Add documentation warnings for Rust, Go, and JavaScript #234

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

Merged
merged 5 commits into from
Apr 7, 2025

Conversation

alexcasalboni
Copy link
Contributor

3 main changes:

  1. Add a --release warning in the Rust docs to clarify that always building with --release might not be ideal if you're prototyping/testing locally and you need debug info in your backtraces
  2. Add a -no-debug warning in the Go docs to clarify that by default tinygo includes all debug information and that you can optimize your .wasm file by using -no-debug (up to 75% reduction in size)
  3. Add a --disable all warning in the JS docs since many users might actually need to use console.log or new Date() in their component for logging/debugging

Copy link
Collaborator

@kate-goldenring kate-goldenring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding these clarifiers!

@kate-goldenring kate-goldenring merged commit ff815db into bytecodealliance:main Apr 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants