v0.1.17
To use this release, paste the following into your MODULE.bazel
file:
bazel_dep(name = "toolchains_musl", version = "0.1.17", 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 = "1e6cf99f35277dbb9c3b341a9986d0f33cf70e0cc76a58f062d2d9b7ab56eeeb",
url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.17/musl_toolchain-v0.1.17.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
- Bump macos runners - 11 are no longer available by @illicitonion in #33
- Use correct target arch in directory name for glob by @illicitonion in #32
Full Changelog: v0.1.16...v0.1.17