feat(wrpc): add wrpc and wit-bindgen-wrpc to JSON registry (Phase 2)#342
Merged
feat(wrpc): add wrpc and wit-bindgen-wrpc to JSON registry (Phase 2)#342
Conversation
Part of issue #332 WRPC modernization. Phase 2 changes: - Add checksums/tools/wrpc.json with v0.16.0 binaries for 3 platforms (darwin_arm64, darwin_amd64, linux_amd64) - Add checksums/tools/wit-bindgen-wrpc.json with v0.16.0 for all 5 platforms - Add URL patterns for both tools in tool_registry.bzl - Add versions for both tools in tool_versions.bzl - Update wasm_toolchain.bzl to: - Include wit_bindgen_wrpc in toolchain info - Download both wrpc tools from the registry - Update BUILD templates for new binaries - Update wrpc/defs.bzl wrpc_bindgen rule to use wit-bindgen-wrpc (the binding generator) instead of wrpc-wasmtime (the RPC runtime) The wrpc_bindgen rule now correctly uses wit-bindgen-wrpc for generating language bindings, while wrpc_serve and wrpc_invoke continue to use wrpc-wasmtime for runtime operations. Note: wrpc.json is missing linux_arm64 and windows_amd64 checksums due to network issues during download - those platforms will use a placeholder binary until checksums are added.
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.
Summary
Part of issue #332 WRPC modernization - Phase 2.
checksums/tools/wrpc.jsonwith v0.16.0 binaries for 3 platformschecksums/tools/wit-bindgen-wrpc.jsonwith v0.16.0 for all 5 platformstool_registry.bzlwrpc_bindgenrule to usewit-bindgen-wrpc(binding generator) instead ofwrpc-wasmtime(RPC runtime)Test plan
bazel clean --expunge && bazel build @wasm_tools_toolchains//:wrpc_binarywit-bindgen-wrpc --versionworkswrpc --helpshows expected commandsNotes
wrpc.jsonis missinglinux_arm64andwindows_amd64checksums - those platforms will use a placeholder binary until checksums are added.Closes #332 (Phase 2)
🤖 Generated with Claude Code