-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support resiliency tests and Docker rules on macOS #313
Comments
The issue is more complex than initially estimated. Using Bazel docker sandboxing fails because Bazel's exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/rules_rust/util/process_wrapper/process_wrapper: exec format error I made progress with cross-compilation to One potential solution would be integrating OpenSSL & libhidapi into our Bazel build. However, the More investigation is needed. |
Let's see if we can make bazel-contrib/rules_oci#77 work for our project. |
The current |
This post wraps up my Bazel macOS + Docker adventure. This project took much longer than initially estimated and still needs to be completed. Initial goal: Build and run the The latest attempt can be found at https://github.com/fmorency/many-rs-cross. I tried to cross-compile from Linux x86_64 to Linux aarch64. AttemptsBazel
|
macOS binaries are created using the
*-apple-darwin
triplet. Since there's noapple-darwin
docker image, Docker requires binaries to be built using the*-unknown-linux-*
triplet.Add support for targeting
*-unknown-linux-*
from macOS (e.g., using Docker sandboxing) and running resiliency tests (Linux Docker) on macOS.The text was updated successfully, but these errors were encountered: