From 1029abb2b9bf8de9e9c7cc41116d9895d05c0206 Mon Sep 17 00:00:00 2001 From: Jayant Shrivastava Date: Mon, 5 Feb 2024 09:55:15 -0500 Subject: [PATCH] build: ignore nogo rule `loopvarcapture` in external deps This change updates the `loopvarcapture` nogo check to only check first-party code. Release note: None Epic: None --- build/bazelutil/nogo_config.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/bazelutil/nogo_config.json b/build/bazelutil/nogo_config.json index 26bcfb81d520..e0c29595f352 100644 --- a/build/bazelutil/nogo_config.json +++ b/build/bazelutil/nogo_config.json @@ -268,6 +268,12 @@ "cockroach/bazel-out/.*/bin/pkg/.*$": "first-party code" } }, + "loopvarcapture": { + "only_files": { + "cockroach/pkg/.*$": "first-party code", + "cockroach/bazel-out/.*/bin/pkg/.*$": "first-party code" + } + }, "lostcancel": { "only_files": { "cockroach/pkg/.*$": "first-party code",