nixpkgs/pkgs/build-support/rust
Alyssa Ross 1cbe5c3e8b rust.toRustTargetForUseInEnvVars: support custom targets
> If using a target spec JSON file, the <triple> value is the filename
> stem. For example --target foo/bar.json would match [target.bar].

- https://doc.rust-lang.org/cargo/reference/config.html#target

I've also exposed toRustTargetSpecShort as a public function, because
it's useful to be able to know what the target subdirectory will be.
2023-10-03 12:30:04 +00:00
..
build-rust-crate Merge pull request #239624 from Stunkymonkey/use-optionalString-then 2023-07-22 13:02:47 +02:00
build-rust-package rust.toRustTargetForUseInEnvVars: support custom targets 2023-10-03 12:30:04 +00:00
fetch-cargo-tarball rustPlatform.fetchCargoTarball: remove explicit sparse protocol 2023-06-02 21:28:57 -04:00
hooks rust.toRustTargetForUseInEnvVars: support custom targets 2023-10-03 12:30:04 +00:00
lib rust.toRustTargetForUseInEnvVars: support custom targets 2023-10-03 12:30:04 +00:00
sysroot build-support/rust/sysroot: let cargo-src crate become no_std 2023-03-12 12:24:23 +01:00
test/import-cargo-lock tests.importCargoLock.maturin: reexport maturin.tests.pyo3 2023-06-19 10:42:24 -04:00
default-crate-overrides.nix default-crate-overrides: add libseat-sys 2023-08-26 01:08:29 -07:00
fetchcargo-default-config.toml
fetchcrate.nix fetchCrate: fix registryDl 2023-05-28 13:20:03 -04:00
import-cargo-lock.nix importCargoLock: fix git dep config file 2023-06-29 21:47:27 +08:00
replace-workspace-values.py rustPlatform.importCargoLock: fix [package] section handling 2023-04-29 21:05:05 +02:00