You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the latest release we're still seeing rustlib being dynamically linked with a rust_binary output (non-trivial project setup, not sure how much this matters), resulting in a binary that cannot be loaded:
➜ sdk git:(main) ✗ otool -L bazel-bin/test/client/logger_runner
bazel-bin/test/client/logger_runner:
@rpath/libtest-5266a2fa65112d20.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/libstd-f6811f31090e0239.dylib (compatibility version 0.0.0, current version 0.0.0)
...
We've been able to work through this by applying the following patch to rules_rust:
This unblocks us for now, but I'd love to understand how we can get this fixed for real. Would the approach we're taking here to just exclude the dylibs be a satisfactory solution?
This is one way to fix#1573, which I have a feeling can be wrong. The binaries produced with this patch contain all required symbols and are working fine on macOS.
nyurik
pushed a commit
to nyurik/rules_rust
that referenced
this issue
Mar 28, 2023
This is one way to fixbazelbuild#1573, which I have a feeling can be wrong. The binaries produced with this patch contain all required symbols and are working fine on macOS.
Presumably related to #1374
On the latest release we're still seeing rustlib being dynamically linked with a rust_binary output (non-trivial project setup, not sure how much this matters), resulting in a binary that cannot be loaded:
We've been able to work through this by applying the following patch to rules_rust:
This unblocks us for now, but I'd love to understand how we can get this fixed for real. Would the approach we're taking here to just exclude the dylibs be a satisfactory solution?
@UebelAndre @scentini @keith
The text was updated successfully, but these errors were encountered: