-
-
Notifications
You must be signed in to change notification settings - Fork 86
Add documentation for cross-compiling to AWS arm #293
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
When cross-compiling for AWS graviton Arm processors, you have to specify the appropriate target CPU or you may end up getting a hard-to-diagnose Illegal Instruction (SIGILL, exit code 132) error.
As this is a common use case, a note in the readme would be helpful.
Example:
RUSTFLAGS='-C target-cpu=neoverse-n1' cargo zigbuild --release --target aarch64-unknown-linux-gnu.2.34Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation