Skip to content

v0.1.20

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Sep 20:44
· 1 commit to main since this release
fccbaa6

To use this release, paste the following into your MODULE.bazel file:

bazel_dep(name = "toolchains_musl", version = "0.1.20", 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 = "86bf928e6b11e81d2d33ca8e044b875f1ed7c7016b607376dd5575db7342c31e",
    url = "https://github.com/bazel-contrib/musl-toolchain/releases/download/v0.1.20/musl_toolchain-v0.1.20.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.19...v0.1.20