Skip to content

Commit

Permalink
Add FIXMEs for bazelbuild/bazel#7260
Browse files Browse the repository at this point in the history
  • Loading branch information
phst committed Jan 5, 2025
1 parent 83d1f19 commit 49bfdc7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions elisp/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ See the [corresponding attribute for
C/C++ compiler. See the [corresponding attribute for
`cc_library`](https://bazel.build/reference/be/c-cpp#cc_library.local_defines).""",
),
# FIXME: Remove once https://github.com/bazelbuild/bazel/issues/7260 is
# fixed.
"_cc_toolchain": attr.label(
default = Label("@rules_cc//cc:current_cc_toolchain"),
providers = [cc_common.CcToolchainInfo],
Expand All @@ -602,6 +604,8 @@ elisp_binary = rule(
allow_single_file = [".el"],
mandatory = True,
),
# FIXME: Remove once https://github.com/bazelbuild/bazel/issues/7260 is
# fixed.
"_cc_toolchain": attr.label(
default = Label("@rules_cc//cc:current_cc_toolchain"),
providers = [cc_common.CcToolchainInfo],
Expand Down Expand Up @@ -663,6 +667,8 @@ elisp_test = rule(
# https://github.com/bazelbuild/bazel/blob/7.4.1/src/test/java/com/google/devtools/build/lib/pkgcache/CompileOneDependencyTransformerTest.java#L74.
flags = ["DIRECT_COMPILE_TIME_INPUT"],
),
# FIXME: Remove once https://github.com/bazelbuild/bazel/issues/7260 is
# fixed.
"_cc_toolchain": attr.label(
default = Label("@rules_cc//cc:current_cc_toolchain"),
providers = [cc_common.CcToolchainInfo],
Expand Down
4 changes: 3 additions & 1 deletion emacs/defs.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020, 2021, 2022, 2023, 2024 Google LLC
# Copyright 2020, 2021, 2022, 2023, 2024, 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -123,6 +123,8 @@ This is used by Gazelle.""",
executable = True,
cfg = "exec",
),
# FIXME: Remove once https://github.com/bazelbuild/bazel/issues/7260 is
# fixed.
"_cc_toolchain": attr.label(
default = Label("@rules_cc//cc:current_cc_toolchain"),
providers = [cc_common.CcToolchainInfo],
Expand Down

0 comments on commit 49bfdc7

Please sign in to comment.