Skip to content

Add bzlmod support, remove mold

Compare
Choose a tag to compare
@keith keith released this 13 Jan 00:50
· 24 commits to main since this release
82c98d0

See the README for general usage. If you'd still like to use mold you can use apple_linker_override and set the linker attribute to your binary.

WORKSPACE setup:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_apple_linker",
    sha256 = "a8aecd86d9c63677a8f1a3849c52c05d4aed1d1d9c209db2904f53f8973731d4",
    strip_prefix = "rules_apple_linker-0.3.0",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.3.0.tar.gz",
)

load("@rules_apple_linker//:deps.bzl", "rules_apple_linker_deps")

rules_apple_linker_deps()

This release includes zld 1.3.3 and lld 12-22-22.