Skip to content

Commit 94212d1

Browse files
committed
Bazel/Go: remove apple_support
This was actually unnecessary, and requried a full Xcode installation that we'd rather avoid.
1 parent 608791f commit 94212d1

File tree

6 files changed

+0
-69
lines changed

6 files changed

+0
-69
lines changed

MODULE.bazel

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ local_path_override(
1313

1414
# see https://registry.bazel.build/ for a list of available packages
1515

16-
bazel_dep(name = "apple_support", version = "1.15.1-codeql.1")
1716
bazel_dep(name = "platforms", version = "0.0.9")
1817
bazel_dep(name = "rules_go", version = "0.47.0")
1918
bazel_dep(name = "rules_pkg", version = "0.10.1")
@@ -58,10 +57,6 @@ use_repo(node, "nodejs", "nodejs_toolchains")
5857
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
5958
go_sdk.download(version = "1.22.2") # default
6059

61-
# following is needed for gazelle on macOS
62-
# see https://github.com/bazelbuild/bazel-gazelle/issues/1793
63-
go_sdk.download(version = "1.21.9")
64-
6560
register_toolchains(
6661
"@nodejs_toolchains//:all",
6762
)

go/BUILD.bazel

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,13 @@
11
load("@bazel_skylib//rules:native_binary.bzl", "native_binary")
22
load("@gazelle//:def.bzl", "gazelle")
3-
load("@rules_go//go:def.bzl", "go_cross_binary")
43
load("@rules_pkg//pkg:install.bzl", "pkg_install")
54
load("@rules_pkg//pkg:mappings.bzl", "pkg_attributes", "pkg_filegroup", "pkg_files")
65
load("@rules_pkg//pkg:zip.bzl", "pkg_zip")
76
load("//:defs.bzl", "codeql_platform")
87

9-
# following is needed for running gazelle on macOS
10-
# see https://github.com/bazelbuild/bazel-gazelle/issues/1793
11-
go_cross_binary(
12-
name = "gazelle-1.21.9",
13-
sdk_version = "1.21.9",
14-
target = "@gazelle//cmd/gazelle",
15-
)
16-
178
gazelle(
189
name = "gazelle",
1910
extra_args = ["go/extractor"],
20-
gazelle = select({
21-
"@platforms//os:macos": ":gazelle-1.21.9",
22-
"//conditions:default": "@gazelle//cmd/gazelle",
23-
}),
2411
)
2512

2613
_gen_binaries = [

misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/MODULE.bazel

Lines changed: 0 additions & 17 deletions
This file was deleted.

misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/patches/module.patch

Lines changed: 0 additions & 20 deletions
This file was deleted.

misc/bazel/registry/modules/apple_support/1.15.1-codeql.1/source.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

misc/bazel/registry/modules/apple_support/metadata.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)