bazelbuild/bazel

rules_rust crash under bazel 9

Open

#29 114 ouverte le 26 mars 2026

Voir sur GitHub
 (11 commentaires) (1 réaction) (0 assignés)Java (4 465 forks)batch import
P2help wantedteam-ExternalDepstype: bug

Métriques du dépôt

Stars
 (25 384 stars)
Métriques de merge PR
 (Merge moyen 7j 2h) (36 PRs mergées en 30 j)

Description

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

Guide contributeur