-
Notifications
You must be signed in to change notification settings - Fork 435
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
Error when compiling Rust on Aarch64 MacOS #2611
Comments
Welcome, and thanks for the issue! If you can post a full git repo we can clone and run, that'd help to be able to debug. It looks like you're wiring up a |
I'm also seeing this (albeit with a WORKSPACE based config) when trying to use The relevant issue are these ones:
This really only crops up if you try and go full hermetic with Until then (or until the rules_rust/rust/platform/triple_mappings.bzl Line 180 in 67b3571
--action_env thing, which makes it global in a way that i'm unable to see how to specifically exclude rules_rust from.
|
@DhashS consider trying a LLVM toolchain setup with sysroot as it usually creates less fuzz. See this example: https://github.com/marvin-hansen/examples/tree/main/rust-tutorial/01-hello-clang For a LLVM with sysroot, see the cross compile example: |
Hi,
I'm very new to the field, so please let me know if the information I communicate here is useful enough for debugging.
I have the following dependency in
MODULE.bazel
When running a simple
blaze test
command, I get the following error (I've omitted the more verbose parts):Does anybody know what's happening here, and how to fix this please?
The text was updated successfully, but these errors were encountered: