1

change @com_github_ziglang_zig to @zig_sdk

This commit is contained in:
2021-06-10 09:34:59 +03:00
committed by Motiejus Jakštys
parent 23f26dfa7e
commit 4bd7b30f65
4 changed files with 9 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ TARGET_CONFIGS = [
def toolchain_repositories():
zig_repository(
name = "com_github_ziglang_zig",
name = "zig_sdk",
version = "0.8.0",
url_format = "https://ziglang.org/download/{version}/zig-{host_platform}-{version}.tar.xz",
@@ -96,7 +96,7 @@ def toolchain_repositories():
def register_all_toolchains():
for target_config in TARGET_CONFIGS:
native.register_toolchains(
"@com_github_ziglang_zig//:%s_toolchain" % target_config.target,
"@zig_sdk//:%s_toolchain" % target_config.target,
)
ZIG_TOOL_PATH = "tools/{zig_tool}"