v0.1.14
To use this release, paste the following into your MODULE.bazel
file:
bazel_dep(name = "toolchains_musl", version = "0.1.14", 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 = "3e0cd2bda7db79853929daacfcbef7e59c2166d3e76b2a38bcf4f8fb529339f2",
url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.14/musl_toolchain-v0.1.14.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
Full Changelog: v0.1.13...v0.1.14