|
|
|
@ -49,7 +49,7 @@ mkShell { |
|
|
|
|
# Tell cargo about the linker and an optional emulater. So they can be used in `cargo build` |
|
|
|
|
# and `cargo run`. |
|
|
|
|
# Environment variables are in format `CARGO_TARGET_<UPPERCASE_UNDERSCORE_RUST_TRIPLE>_LINKER`. |
|
|
|
|
# They are also be set in `.cargo/config.toml` instead. |
|
|
|
|
# They can also be set in `.cargo/config.toml` instead. |
|
|
|
|
# See: https://doc.rust-lang.org/cargo/reference/config.html#target |
|
|
|
|
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER = "${stdenv.cc.targetPrefix}cc"; |
|
|
|
|
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUNNER = "qemu-aarch64"; |
|
|
|
|