Skip to content

Add mold support

Compare
Choose a tag to compare
@keith keith released this 07 Nov 19:12
· 33 commits to main since this release
39de4d1

Note: mold macho support is incomplete, so it may or may not work in your use case

See the README for general usage.

WORKSPACE setup:

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

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

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

rules_apple_linker_deps()

This release includes zld 1.3.3, lld 10-14-22, and mold 11-7-22