feat: add support for go program#254
Merged
eigmax merged 8 commits intoProjectZKM:mainfrom Sep 21, 2025
Merged
Conversation
add initial constraints for linux syscalls redirect runtime.exit to zkvm.runtimeexit fix cycle field in syscall id fix example/fibonacci fix cycles bug and constraint bug in mmap fix fmt fix syscall code, and constraints for gt operation and clone syscall fix send_to_table fix mismatch in send/receive syscall fix rebase and fmt problem fix clippy add build.rs for simple go
eigmax
requested changes
Sep 16, 2025
eigmax
reviewed
Sep 16, 2025
eigmax
reviewed
Sep 16, 2025
eigmax
approved these changes
Sep 17, 2025
VanhGer
reviewed
Sep 18, 2025
| (self as u32).to_le_bytes()[2].into() | ||
| } | ||
|
|
||
| /// Get whether the handler of the system call has its own table. |
Contributor
There was a problem hiding this comment.
The definition is repeated in the should_send function above.
Contributor
Author
There was a problem hiding this comment.
Sorry. Can you tell me where? I didn't find another should_send.
Contributor
Author
There was a problem hiding this comment.
Got it. I forgot to update the comments for linux_sys.
Co-authored-by: Blake <148928866+blake-pro@users.noreply.github.com
blake-pro
approved these changes
Sep 21, 2025
VanhGer
approved these changes
Sep 21, 2025
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.
Test simple go example:
zkm runtime for go provides I/O API, the guest program can read input, commit output by
zkm_runtime.Read[<type>](), zkm_runtime.Commit[<type>]()MAY TODO: add go support as an additional feature