Commit cc33333
committed
feat: register wasmtime toolchain in MODULE.bazel for centralized version management
This change eliminates duplicate wasmtime installation logic by registering
the wasmtime toolchain in MODULE.bazel and extracting it from Bazel's cache
in the performance workflow.
Changes:
- MODULE.bazel: Register wasmtime toolchain using rules_wasm_component extension
- performance.yml: Extract wasmtime from @wasmtime_toolchain instead of manual download
- Use bazel info output_base to construct full path to cached binary
Benefits:
- Single source of truth for wasmtime version (centralized in MODULE.bazel)
- Reuses Bazel's cached download (faster, no redundant network calls)
- Eliminates manual version maintenance in performance.yml
- Consistent wasmtime version across all Bazel builds and CI workflows1 parent 1c3ac6f commit cc33333
File tree
3 files changed
+32
-18
lines changed- .github/workflows
3 files changed
+32
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
86 | 98 | | |
87 | 99 | | |
88 | 100 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments