knqyf263 / go-plugin

Go Plugin System over WebAssembly
MIT License
578 stars 27 forks source link

chore: bump go 1.20 and tinygo (0.29.0, 0.30.0, 0.31.1), use go:wasmimport #61

Closed evacchi closed 8 months ago

evacchi commented 8 months ago

This updates Go to 1.20 and tinygo on CI to the last 3 versions.

Incidentally since 0.29.0 tinygo updated wasi-libc and/or the way they handle imports, causing a name clash with libc's log() math function. So I am also updating to use //go:wasmimport instead of //export for imports.

Will follow up with a PR to bump wazero (we are finalizing wazero 2.0 with the new optimizing compiler!)


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

knqyf263 commented 8 months ago

Great! Thanks!

inliquid commented 7 months ago

Hi @evacchi! Thank you very much for update, good to know that work on wazero 2.0 is finalizing! May I ask to set a new tag so that we could update dependencies?

evacchi commented 7 months ago

yes! Will follow up soon with a pre-release tag!