Skip to content

Commit eb5836a

Browse files
committed
build: update MODULE.bazel with enhanced dependency management
Synchronize Bazel module configuration with latest toolchain improvements and new component examples. Dependency Updates: - Align with centralized checksum registry changes - Support new WebAssembly component toolchain requirements - Update Rust crate dependencies for checksum updater tools - Add wasmtime and WASI runtime dependencies Module Configuration: - Maintain compatibility with existing build configurations - Support new example applications and runtime integrations - Ensure proper version constraints for reproducible builds - Update lock file with verified dependency resolutions This update ensures the module system properly supports the enhanced WebAssembly component toolchain while maintaining backward compatibility and build reproducibility across different environments.
1 parent f44fd50 commit eb5836a

File tree

2 files changed

+4044
-11
lines changed

2 files changed

+4044
-11
lines changed

MODULE.bazel

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,19 @@ use_repo(jco, "jco_toolchain")
139139

140140
register_toolchains("@jco_toolchain//:jco_toolchain")
141141

142-
# Rust crates for wizer_initializer tool
142+
# Rust crates for tools
143143
crate = use_extension("@rules_rust//crate_universe:extension.bzl", "crate")
144144
crate.from_cargo(
145145
name = "wizer_crates",
146146
cargo_lockfile = "//tools/wizer_initializer:Cargo.lock",
147147
manifests = ["//tools/wizer_initializer:Cargo.toml"],
148148
)
149-
use_repo(crate, "wizer_crates")
149+
crate.from_cargo(
150+
name = "crates",
151+
cargo_lockfile = "//tools/checksum_updater:Cargo.lock",
152+
manifests = ["//tools/checksum_updater:Cargo.toml"],
153+
)
154+
use_repo(crate, "wizer_crates", "crates")
150155

151156
# Modernized WASM tool repositories using git_repository + rules_rust
152157
wasm_tool_repos = use_extension("//toolchains:extensions.bzl", "wasm_tool_repositories")

MODULE.bazel.lock

Lines changed: 4037 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)