packaging: vendor nexum:host wit into videre via wit-deps#482
Open
mfw78 wants to merge 1 commit into
Open
Conversation
Replace the cross-group nexum-host symlink with a wit-deps vendor: wit/deps.toml pins the package to an exact nexum-runtime git tag, wit/deps.lock records the content digests, and wit/deps/nexum-host is checked in so the group resolves WIT crate-locally and offline. The videre-host and videre-sdk bindgens now read wit/deps/nexum-host.
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.
What
Replace the cross-group
wit/nexum-hostsymlink in the videre group with awit-depsvendor:videre/wit/deps.tomlpinsnexum-hostto an exactnexum-runtimegit tag,videre/wit/deps.lockrecords the content digests, andvidere/wit/deps/nexum-hostis checked in.videre-hostandvidere-sdkbindgen path lists now point atwit/deps/nexum-host.Why
Stacks on feat/m5-wit-local-l1 (crate-local WIT for L1). Once nexum-runtime is a separate repo, videre can no longer walk a shared
../../wittree to reachnexum:host- it must resolve that dependency from a pinned, checked-in source. This is the L2 half of the wit-deps migration.Testing
nix develop -c cargo fmt --all --checknix develop -c cargo check --workspace --all-featuresnix develop -c cargo clippy --workspace --all-targets --all-features -- -D warningsnix shell nixpkgs#cargo-nextest -c cargo nextest run --workspace --all-features --no-fail-fastcargo test --docAI Assistance
Implemented with Claude Code under review.
Part of #405 (L2 half)