v0.1.16
To use this release, paste the following into your MODULE.bazel
file:
bazel_dep(name = "toolchains_musl", version = "0.1.16", dev_dependency = True)
If you need to attach custom exec or target constraints to these toolchains, you can write:
toolchains_musl = use_extension("@toolchains_musl//:toolchains_musl.bzl", "toolchains_musl", dev_dependency = True)
toolchains_musl.config(
extra_exec_compatible_with = ["//some/constraint:label"],
extra_target_compatible_with = ["@some//other/constraint:label"],
)
If you are using WORKSPACE
, paste the following instead:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "musl_toolchains",
sha256 = "3932d11fc916c5b5b186e46fc057660cc3cb36ab2461835edca37f790b9f8e06",
url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.16/musl_toolchain-v0.1.16.tar.gz",
)
load("@musl_toolchains//:repositories.bzl", "load_musl_toolchains")
load_musl_toolchains()
load("@musl_toolchains//:toolchains.bzl", "register_musl_toolchains")
register_musl_toolchains()
What's Changed
- Rename cc_toolchain from musl_toolchain by @illicitonion in #29
Full Changelog: v0.1.15...v0.1.16