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)
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?
rules_rust/rust/private/rustc.bzl
Lines 758 to 762 in 22d6730
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)