mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-29 10:42:21 +03:00
379 B
379 B
To build a cargo project while also compiling the standard library or other crates distributed with the Rust toolchain, run the following in a fresh directory:
nix flake init -t github:ipetkov/crane#build-std
Alternatively, if you have an existing project already, copy and paste the
following flake.nix
:
{{#include ../../examples/build-std/flake.nix}}