Skip to content

Add documentation for cross-compiling to AWS arm #293

Description

@vultix

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.34

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions