rustshop / flakebox

Flakebox is to your Rust project dev environment, what NixOS is to your OS, or home-manager to your home directory.
96 stars 5 forks source link

question: how do you specify abi when cross compiling #143

Open GlennWSo opened 3 months ago

GlennWSo commented 3 months ago

I want to cross compile to target: aarch64-unknown-linux-musl

But using when a follow the get started tutorial and do a build with:

nix build .#aarch64-linux.dev.hello-flakebox a get a file of aarch64-unknown-linux-gnu

How do i declare the -musl part?

dpc commented 3 months ago

It needs to be added as a new "target", possibly with matching "toolchain".