Skip to content

Cargo attempts to build "aarch64-unknown-linux-musl" by default

Building oniux fails on x86-64 as it tries to build an aarch64 binary rather than a native-arch binary.

I'm guessing this is due to the:

.cargo/config.toml

[build]
target = "aarch64-unknown-linux-musl"

You can work around this with --target x86_64-unknown-linux-gnu, but ideally I think it should build for the native architecture by default.