bazelbuild/bazel

rules_rust crash under bazel 9

Open

#29.114 geöffnet am 26. März 2026

Auf GitHub ansehen
 (11 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Java (4.465 Forks)batch import
P2help wantedteam-ExternalDepstype: bug

Repository-Metriken

Stars
 (25.384 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 2h) (36 gemergte PRs in 30 T)

Beschreibung

Description of the bug:

https://github.com/patrickmscott/rules_rust_bazel9

When modifying Cargo.toml and requesting CARGO_BAZEL_REPIN=true, bazel crashes because the lockfile has been modified.

@katre

Which category does this issue belong to?

Rules API

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

https://github.com/patrickmscott/rules_rust_bazel9

Which operating system are you running Bazel on?

linux

What is the output of bazel info release?

release 9.0.1

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Contributor Guide