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

Add WASM plugin support #121

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

saschagrunert
Copy link

Just an inspiration how WASM support could work.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Comment on lines +194 to +196
.PHONY:
wasm-proto:
cd pkg/api && $(PROTO_COMPILE) --go-plugin_out=wasm --go-plugin_opt=paths=source_relative api.proto
Copy link
Author

Choose a reason for hiding this comment

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

@klihub
Copy link
Member

klihub commented Nov 6, 2024

@saschagrunert Are you able to compile the wasm plugin on your system ? If yes, can you list the tinygo version and other relevant configuration that you are running with ?

@saschagrunert
Copy link
Author

@saschagrunert Are you able to compile the wasm plugin on your system ? If yes, can you list the tinygo version and other relevant configuration that you are running with ?

Yes it works, using:

> tinygo version
tinygo version 0.34.0 linux/amd64 (using go version go1.23.2 and LLVM version 18.1.8)

I still think knqyf263/go-plugin#67 is a main blocker on this, but there is hope that we can resolve this kind of issue soon.

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