1

rename libc name; comment out default toolchain

This commit is contained in:
2021-06-10 16:12:50 +03:00
committed by Motiejus Jakštys
parent 2944fe56df
commit 61491dac5e
3 changed files with 8 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ TARGET_CONFIGS_LISTOFLISTS = [[
constraint_values=[
"@platforms//os:linux",
"@platforms//cpu:{}".format(cpu),
":gnu.2.19",
":libc_gnu",
],
tool_paths={"ld": "ld.lld"},
),
@@ -72,7 +72,7 @@ TARGET_CONFIGS_LISTOFLISTS = [[
constraint_values=[
"@platforms//os:linux",
"@platforms//cpu:{}".format(cpu),
":musl",
":libc_musl",
],
tool_paths={"ld": "ld.lld"},
),
@@ -189,12 +189,12 @@ def zig_build_macro(absolute_path, zig_include_root):
native.constraint_setting(name = "libc")
native.constraint_value(
name = "musl",
name = "libc_musl",
constraint_setting = ":libc",
)
native.constraint_value(
name = "gnu.2.19",
name = "libc_gnu",
constraint_setting = ":libc",
)