nix-community/crate2nix

Work with -Z build-std

Opened this issue · 1 comments

See

I am very interested using this for nice incremental builds, native and cross, building each crate of the standard library and also rustc separately.

We now have a trivial "empty cross" test (https://github.com/kolloch/crate2nix/tree/master/sample_projects/empty_cross), and buildRustCrate knows how a slightly different --extern is needed for a "stdlib dependency" (NixOS/nixpkgs#184620).

I think just a bit more documentation and testing is needed, and then this is all done!