Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustPlatform.cargoSetupHook: fix platform check (#260068)
Cargo will never need to link for the target platform — that'd be for the package being built to do at runtime. Cargo should know about the build and host linkers. This fixes e.g. pkgsCross.musl64.fd from x86_64-linux. Fixes: 67a4f82 ("rust: hooks: fix cross compilation")
- Loading branch information