nixpkgs/pkgs/build-support/rust/build-rust-crate
Ilan Joselevich 8d2ba0feae
buildRustCrate: Fix rust-overlay usage
I broke the usage of buildRustCrate with a toolchain from rust-overlay
when I added support for wasm32-unknown-unknown, this change adds
additional conditionals to restore the usage.

The toolchain can now be overriden either through
```
buildRustCrate {
  rust = toolchain;
  cargo = toolchain
}
```
or
```
buildRustCrate.override {
  rustc = toolchain;
  cargo = toolchain;
}
```
They should now be consistent with each other.
2024-09-06 16:47:29 +03:00
..
test Merge pull request #319153 from Kranzes/buildRustCrate-wasm 2024-06-30 14:05:33 +03:00
build-crate.nix buildRustCrate: Fix rust-overlay usage 2024-09-06 16:47:29 +03:00
configure-crate.nix buildRustCrate: don't swallow build.rs output 2024-07-05 21:39:08 +03:00
default.nix buildRustCrate: Fix rust-overlay usage 2024-09-06 16:47:29 +03:00
helpers.nix
install-crate.nix buildRustCrate: extensions.sharedLibrary -> extensions.library 2024-06-11 11:27:17 +01:00
lib.sh buildRustCrate: add support for cargo::rustc-cdylib-link-arg 2024-07-01 09:29:46 +02:00
log.nix