mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
9ee10432a4
When cross-compiling a rust package, all we need is the std library compiled for the target. This uses the final stage compiler which was built for Build and then uses that as a stage0 compiler for target std library. It also copies the rust binary from pkgsBuildBuild so that it find the new lib/rustlib directory. We also need to create a cargo wrapper which will use the "new" rust compiler Also makes sure man pages and doc pages are propagated Co-authored-by: Alyssa Ross <hi@alyssa.is> Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Rick van Schijndel <Mindavi@users.noreply.github.com> |
||
---|---|---|
.. | ||
1_72.nix | ||
binary.nix | ||
bootstrap.nix | ||
cargo_cross.nix | ||
cargo-auditable-cargo-wrapper.nix | ||
cargo-auditable.nix | ||
cargo.nix | ||
clippy.nix | ||
default.nix | ||
make-rust-platform.nix | ||
print-hashes.sh | ||
rust-lib-src.nix | ||
rust-src.nix | ||
rustc.nix | ||
rustfmt.nix | ||
setup-hook.sh |