From 8eee663c92276ca008aba15274bb8f6b411dffda Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Wed, 21 Jan 2026 07:40:56 +0000 Subject: [PATCH] crate_universe: Fix workspace root detection without this, updating the crate triggers a reanalysis, causing recursion and the task to recurse, spin out, hang and fail Signed-off-by: Ryan Northey --- crate_universe/extensions.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crate_universe/extensions.bzl b/crate_universe/extensions.bzl index 3d4e646da0..5fcc988770 100644 --- a/crate_universe/extensions.bzl +++ b/crate_universe/extensions.bzl @@ -635,7 +635,7 @@ def _generate_hub_and_spokes( ) # The workspace root when one is explicitly provided. - nonhermetic_root_bazel_workspace_dir = module_ctx.path(Label("@@//:MODULE.bazel")).dirname + nonhermetic_root_bazel_workspace_dir = module_ctx.path(Label("@@//:BUILD")).dirname # If re-pinning is enabled, gather additional inputs for the generator kwargs = dict()