Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mhmd-azeez
Copy link
Contributor

@mhmd-azeez mhmd-azeez commented Dec 19, 2024

since TinyGo now officially supports reactor modules, we should switch to it:

tinygo-org/tinygo#4451

This make sure xtp plugins can use wasi features out of the box without resorting to hacks, the only downside is that we have to force people to upgrade to TinyGo version 0.34.0

@mhmd-azeez mhmd-azeez requested a review from bhelx December 19, 2024 10:59
@mhmd-azeez mhmd-azeez requested a review from nilslice as a code owner December 19, 2024 10:59
@mhmd-azeez
Copy link
Contributor Author

After this is merged, i will also update the go-pdk docs to mention this

Copy link
Member

@nilslice nilslice 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!

tinygo_version=$(tinygo version | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+' | head -n1)
if ! version_gt "$tinygo_version" "0.34.0"; then
missing_deps=1
echo "❌ TinyGo version must be greater than 0.34.0 (current version: $tinygo_version)"
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@mhmd-azeez mhmd-azeez merged commit 8c7491c into main Dec 19, 2024
3 checks passed
@mhmd-azeez mhmd-azeez deleted the reactor-module branch December 19, 2024 17:32
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.

4 participants