rules_swift
rules_swift copied to clipboard
[Feature Request] Support `additional_linker_inputs` in `swift_binary`
The cc_binary rule lets you pass additional inputs to the linker via additional_linker_inputs.
cc_binary(
name = "bar",
srcs = ["bar.c"],
additional_linker_inputs = ["data.bin"],
linkopts = ["-Wl,-sectcreate,__TEXT,__mysection,$(execpath data.bin)"],
)
Can swift_binary support this?
yes we could, prs welcome
@jpc-sf do you mind testing this. Also @keith I would appreciate your review.