rework toolchain registration
- support specifying the glibc version. - support picking the default of musl or glibc. - create both zig and go conventions for `--extra_toolchains`.
This commit is contained in:
@@ -50,10 +50,7 @@ protobuf_deps()
|
||||
|
||||
load(
|
||||
"//toolchain:defs.bzl",
|
||||
zig_register_all_toolchains = "register_all_toolchains",
|
||||
zig_toolchain_repositories = "toolchain_repositories",
|
||||
zig_register_toolchains = "register_toolchains",
|
||||
)
|
||||
|
||||
zig_toolchain_repositories()
|
||||
|
||||
zig_register_all_toolchains()
|
||||
zig_register_toolchains(glibc_version = "2.19")
|
||||
|
||||
Reference in New Issue
Block a user