Skip to content

FR: Runtime linking support for multiple platforms #540

@UebelAndre

Description

@UebelAndre

Edit

This has been issue has been turned into a feature request. The rules should support runtime linking on multiple platforms (more than just linux).

Original

Can anyone explain why this is the case?

if toolchain.os != "linux":
fail("Runtime linking is not supported on {}, but found {}".format(
toolchain.os,
dep_info.transitive_dylibs,
))

Looking back at #121 and then #61 there doesn't seem to be anything calling out that this is specific to linux other than the fact that the PR was only scoped to linux.

Is this still correct that only this behavior is only possible on linux? If so, why is linux the only platform that can do this? If not, what would be the risk in expanding this to other platforms?

(hoping @mfarrugi might know since they appear to have been the original author)

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageThe ticket needs maintainer attention.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions