add riscv64im-unknown-openvm-elf tier 3 target#3
Draft
Tuanlinh12312 wants to merge 4 commits intomasterfrom
Draft
add riscv64im-unknown-openvm-elf tier 3 target#3Tuanlinh12312 wants to merge 4 commits intomasterfrom
Tuanlinh12312 wants to merge 4 commits intomasterfrom
Conversation
Add riscv64im-unknown-openvm-elf as a tier 3 Rust target for the OpenVM zero-knowledge virtual machine (RV64IM ISA). The target includes std support via the OpenVM platform abstraction layer. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
GitHub Actions workflows to build and publish pre-built toolchain binaries for the riscv64im-unknown-openvm-elf target. - build-toolchain.yml: reusable workflow that builds stage-2 rustc with the custom target for a single platform - release-toolchain.yml: triggered on openvm-* tags, builds for 3 platforms (x86_64 Linux, aarch64 macOS, x86_64 macOS) and creates a draft GitHub Release with tarballs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bootstrap validates target triples before the compiler is built, but our built-in target only exists after compilation. Create a dummy JSON spec at RUST_TARGET_PATH to pass the sanity check. This is the same workaround used by SP1 and ZisK. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The host-target input could mismatch the actual runner architecture (macos-15 is ARM, not x86_64). Now the build workflow detects the host triple at runtime using uname. Also use macos-13 for the x86_64 macOS build (last Intel runner). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Add riscv64im-unknown-openvm-elf as a tier 3 Rust target for the OpenVM zero-knowledge virtual machine (RV64IM ISA). The target includes std support via the OpenVM platform abstraction layer.