Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Runtime linking support for multiple platforms #540

Open
UebelAndre opened this issue Dec 21, 2020 · 2 comments
Open

FR: Runtime linking support for multiple platforms #540

UebelAndre opened this issue Dec 21, 2020 · 2 comments

Comments

@UebelAndre
Copy link
Collaborator

UebelAndre commented Dec 21, 2020

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)

@mfarrugi
Copy link
Collaborator

mfarrugi commented Dec 21, 2020 via email

@UebelAndre
Copy link
Collaborator Author

UebelAndre commented Dec 21, 2020

Good to know, thanks. I updated this ticket to be a feature request for that then, so people are more aware of this. I don't think it'd be a lot of work to add support on MacOS but I'm not sure about Windows. Anywho, hope people find this issue useful. Thanks @mfarrugi for your response 🙏

@UebelAndre UebelAndre changed the title Runtime linking support for multiple platforms FR: Runtime linking support for multiple platforms Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants