Skip to content

fix(bazel): add crate universe lockfiles - #444

Open
shriramgr-sdv wants to merge 1 commit into
eclipse-score:mainfrom
shriramgr-sdv:fix/lockfile-definition-eca
Open

fix(bazel): add crate universe lockfiles#444
shriramgr-sdv wants to merge 1 commit into
eclipse-score:mainfrom
shriramgr-sdv:fix/lockfile-definition-eca

Conversation

@shriramgr-sdv

Copy link
Copy Markdown

What

Add cargo_lockfile and lockfile to the crate.from_specs() declaration and commit the generated Cargo.lock and Cargo.Bazel.lock.

Why

rules_rust 0.71+ requires transitive crate_universe declarations to ship a lockfile because repinning across Bzlmod module boundaries is unsupported.

Without these files, downstream consumers fail with:

crate_universe extension call `crates` is in a non-root module but has no lockfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant