Skip to content

Add support for linker targets with runfiles

Compare
Choose a tag to compare
@keith keith released this 09 Jun 16:14
· 15 commits to main since this release
5544b20

This release allows you to use apple_linker_override's linker attribute with a target that produces multiple files rather than a single file. This is useful if you need to wrap a linker in a sh_binary or similar target.

See the README for general usage.

MODULE.bazel setup:

bazel_dep(name = "rules_apple_linker", version = "0.4.0")

WORKSPACE setup:

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

http_archive(
    name = "rules_apple_linker",
    sha256 = "70b664b3ddc335178d163f487d0bda5e895f3dc00d311c17c3b4050e780056b8",
    strip_prefix = "rules_apple_linker-0.4.0",
    url = "https://github.com/keith/rules_apple_linker/archive/refs/tags/0.4.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 4-6-23