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 go language binding build on macos arm64 #1875

Merged

Conversation

bonifaido
Copy link
Contributor

@bonifaido bonifaido commented Jan 9, 2023

Also a question in the meantime, are there any plans to support exposing host functions in the Go binding as in the Python implementation?

@wenyongh wenyongh merged commit 219713b into bytecodealliance:main Jan 10, 2023
@wenyongh
Copy link
Contributor

Also a question in the meantime, are there any plans to support exposing host functions in the Go binding as in the Python implementation?

Do you mean to register native APIs written by Go? There is no plan yet. It is a little difficult to convert Go arguments into C arguments, and dispatch Go native API to C native API, and register the latter to runtime, do you have any ideas? Thanks.

@bonifaido bonifaido deleted the fix-language-binding-build branch January 10, 2023 07:31
@bonifaido
Copy link
Contributor Author

Yes, for example one of the wasm3 bindings has this feature implemented (I haven't tried it): https://github.com/iden3/go-wasm3/blob/master/wasm3.go#L414

@wenyongh
Copy link
Contributor

OK, thanks a lot, we may investigate more and try to implement the feature in the future.

NingW101 pushed a commit to NingW101/wasm-micro-runtime that referenced this pull request Jan 11, 2023
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
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