From c7c41b3a6265aa664d2e803798333ebb12a9aef2 Mon Sep 17 00:00:00 2001 From: Markus Hofbauer Date: Thu, 12 Jun 2025 08:52:20 +0200 Subject: [PATCH] docs: Add recommendations for lockfile --- crate_universe/private/crates_repository.bzl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crate_universe/private/crates_repository.bzl b/crate_universe/private/crates_repository.bzl index e92241d8a5..394f45927c 100644 --- a/crate_universe/private/crates_repository.bzl +++ b/crate_universe/private/crates_repository.bzl @@ -307,7 +307,9 @@ CARGO_BAZEL_REPIN=1 CARGO_BAZEL_REPIN_ONLY=crate_index bazel sync --only=crate_i "lockfile": attr.label( doc = ( "The path to a file to use for reproducible renderings. " + - "If set, this file must exist within the workspace (but can be empty) before this rule will work." + "If set, this file must exist within the workspace (but can be empty) before this rule will work." + + "If you already have a `MODULE.bazel.lock` file, you don't need this." + + "If you don't have a `MODULE.bazel.lock` file, the `lockfile` will save you generation time." ), ), "manifests": attr.label_list(