Skip to content

[Feature Request] Support additional_linker_inputs in swift_binary #1511

Open
@jpc-sf

Description

@jpc-sf

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions