Merged
Conversation
34fbdde to
29614a0
Compare
chaploud
added a commit
that referenced
this pull request
Mar 22, 2026
- .gitignore: scope target/ and Cargo.lock to examples/rust/ - book en/ja c-api.md: add Rust FFI quickstart section + example ref - ci.yml: add Rust FFI example build+run step after Setup Rust
chaploud
added a commit
that referenced
this pull request
Mar 22, 2026
Follow-up to PR #12: scope .gitignore to examples/rust/, add Rust quickstart to book (en/ja), add CI step for Rust example build+run.
Contributor
|
Thank you for the contribution! 🎉 This has been merged, and I've also pushed a follow-up commit (b25f7c7) with:
By the way, the segfault issue you reported in #11 has been fixed in 86cb5ae — the Rust example now works on x86_64 Linux as well. Thanks again for both the bug report and the example! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
examples/rust/— a minimal Rust FFI example using the zwasm C API viaextern "C"bindings.Mirrors the existing C and Python examples.
Note: segfaults on x86_64 due to a known C API issue (see #11 ), same as the Python example.
Works correctly on aarch64.