bazelbuild / bazelbuild/rules_rust

repin when using bazel modules

Open
#3,156 1 comment 0 reactions 0 assignees View on GitHub
needs-design
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

ever since switching from `WORKSPACE` to bazel modules, i no longer get repin warnings from rules_rust.

i do notice tho from time to time that the build from `cargo build` differs from `bazel build` and every time that happens i have to manually delete `module.bazel.lock` and run `bazel build` to recreate it.

i assume this is happening due to lack of repinning?

what is the recommended way to repin/keep bazel in sync with `cargo.lock` when using rules_rust with bazel modules.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.