mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-27 02:52:02 +03:00
339 B
339 B
To cross compile a rust project using oxalica/rust-overlay
, run the following
in a fresh directory:
nix flake init -t github:ipetkov/crane#cross-rust-overlay
Alternatively, if you have an existing project already, copy and paste the
following flake.nix
:
{{#include ../../examples/cross-rust-overlay/flake.nix}}