Skip to content

fix(bazel): 🔧 add cargo_lockfile and lockfile definitions - #69

Merged
pawelrutkaq merged 1 commit into
eclipse-score:mainfrom
ian-harmon-traton:fix/lockfile-definition
Aug 26, 2026
Merged

pawelrutkaq merged 1 commit into
eclipse-score:mainfrom
ian-harmon-traton:fix/lockfile-definition

Conversation

@ian-harmon-traton

Copy link
Copy Markdown
Contributor

What

In the crate.from_specs call in MODULE.bazel, added a cargo_lockfile = ... and lockfile = ..., and ran the regenerating command for both files.

Why

Newer versions of rules_rust compatibility (since 0.71.1 or 0.71.0) require lock files defined in the cargo.from_specs or cargo.from_cargo since repinning across module boundaries is not allowed

Where

Lines 442 & 445 in MODULE.bazel
Cargo.Bazel.lock
Cargo.Lock

…specs call

newer versions of rules_rust compatibility (since 0.71.1 or 0.71.0) require lock files since repinning across module boundaries is not allowed
@github-actions

Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

@ian-harmon-traton ian-harmon-traton changed the title fix: 🔧 add cargo_lockfile and lockfile definitions fix(bazel): 🔧 add cargo_lockfile and lockfile definitions Aug 21, 2026
@pawelrutkaq

Copy link
Copy Markdown
Contributor

You need to sign eclipse ECA so we can process with PR

@ian-harmon-traton

Copy link
Copy Markdown
Contributor Author

You need to sign eclipse ECA so we can process with PR

Submitted

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds reproducible Rust dependency resolution for Bazel’s crate universe.

Changes:

  • Configures both required lockfiles.
  • Adds generated Cargo and Bazel crate lockfiles.
  • Refreshes Bzlmod metadata.

Reviewed changes

Copilot reviewed 1 out of 4 changed files in this pull request and generated no comments.

File Description
MODULE.bazel References both lockfiles.
Cargo.lock Pins Cargo dependencies.
Cargo.Bazel.lock Pins generated Bazel crate metadata.
MODULE.bazel.lock Refreshes Bzlmod extension state.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@pawelrutkaq
pawelrutkaq merged commit 964027c into eclipse-score:main Aug 26, 2026
5 checks passed
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.

3 participants