Skip to content

Commit fa13b01

Browse files
authored
test(toolchain): use flag_values in test platform defs (#2106)
This PR uses the `flag_values` from the platform definitions for the toolchains so that in the future we can distinguish between `musl` and `glibc` toolchains in our tests. For now the change is no-op. As part of this change we are also registering the coverage tools so that we can run `bazel coverage` with no errors. See comment on #2095.
1 parent cc76ce0 commit fa13b01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/toolchains/defs.bzl

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def define_toolchain_tests(name):
2626
for platform_key, platform_info in PLATFORMS.items():
2727
native.config_setting(
2828
name = "_is_{}".format(platform_key),
29+
flag_values = platform_info.flag_values,
2930
constraint_values = platform_info.compatible_with,
3031
)
3132

0 commit comments

Comments
 (0)