Skip to content

Commit 0454544

Browse files
committed
Add compatibility _cc_toolchain attribute to _haskell_toolchain rule
1 parent b7c06af commit 0454544

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

haskell/toolchain.bzl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,11 @@ _haskell_toolchain = rule(
561561
_haskell_toolchain_impl,
562562
attrs = dict(
563563
common_attrs,
564+
_cc_toolchain = attr.label(
565+
default = Label(
566+
"@rules_cc//cc:current_cc_toolchain",
567+
),
568+
),
564569
),
565570
toolchains = use_cc_toolchain(),
566571
fragments = ["cpp"],

0 commit comments

Comments
 (0)