Skip to content
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

fix: readme/tinygo examples use go:wasmexport/wasmimport, -buildmode=c-shared #52

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

evacchi
Copy link
Contributor

@evacchi evacchi commented Jan 23, 2025

I have kept the examples with //export because this will work on both Tiny and Big Go. Once the new Go version is out we can change them all to //go:wasmexport. Notice that the -buildmode=c-shared flag and the //go:wasmexport at that point will be aligned in semantics in both compilers, see golang/go#65199

…c-shared

Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Copy link
Contributor

@mhmd-azeez mhmd-azeez left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

README.md Outdated Show resolved Hide resolved
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
@evacchi evacchi merged commit ff1c4f6 into main Jan 24, 2025
4 checks passed
@evacchi evacchi deleted the tinygo-readme branch January 24, 2025 18:37
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