From 42e41c57d46c5fe88cfbf646fb73b16804ea9031 Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Wed, 25 Feb 2026 13:33:54 +0100 Subject: [PATCH] Go: fix standalone build of the Go extractor https://github.com/github/codeql/pull/21276 worked together with the internal changes but broke the standalone build of the Go extractor of this repo in isolation. The root cause was the lack of an auto-loaded `java_library` rule definition. This fixes it. I also checked this doesn't happen anywhere else. --- go/extractor/BUILD.bazel | 1 + 1 file changed, 1 insertion(+) diff --git a/go/extractor/BUILD.bazel b/go/extractor/BUILD.bazel index 860dcef5e73e..fbc53f20720b 100644 --- a/go/extractor/BUILD.bazel +++ b/go/extractor/BUILD.bazel @@ -1,4 +1,5 @@ load("@rules_go//go:def.bzl", "go_library") +load("@rules_java//java:defs.bzl", "java_library") load("@rules_pkg//pkg:mappings.bzl", "pkg_files") # gazelle:prefix github.com/github/codeql-go/extractor