Skip to content

Commit 4c7e63f

Browse files
authored
Replace host cfg with exec (#688)
Something changed on Bazel CI (probably the version of buildifier) such that this suddenly broke on the latest nightly master despite us not changing anything
1 parent 888fa20 commit 4c7e63f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gazelle/modules_mapping/def.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ modules_mapping = rule(
3737
mandatory = True,
3838
),
3939
"_generator": attr.label(
40-
cfg = "host",
40+
cfg = "exec",
4141
default = "//gazelle/modules_mapping:generator",
4242
executable = True,
4343
),

python/packaging.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ tries to locate `.runfiles` directory which is not packaged in the wheel.
432432
),
433433
"_wheelmaker": attr.label(
434434
executable = True,
435-
cfg = "host",
435+
cfg = "exec",
436436
default = "//tools:wheelmaker",
437437
),
438438
},

0 commit comments

Comments
 (0)