Skip to content

Adding necessary bits for cross-compiling to aarch64-unknown-linux-gnu to CI/CD #73

Description

@PLeVasseur

I got this working locally by:

$ rustup target add aarch64-unknown-linux-gnu
$ sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu

then adding to .cargo/config.toml:

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

then I could

$ cargo build --target=aarch64-unknown-linux-gnu

Could we add this to the CI/CD pipeline?

Any thoughts from folks? Tagging in @AnotherDaniel, @sophokles73

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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