diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-09-26 07:37:57 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-10-03 12:30:04 +0000 |
commit | 1cbe5c3e8ba7ad5701291acce3ac78dadf388231 (patch) | |
tree | 2c84532e85330f684bccf965f39e1f5599d45555 /pkgs/build-support/rust/default-crate-overrides.nix | |
parent | b135595213dd61fa70ebd2b2d19b8eab16a8f174 (diff) | |
download | nixlib-1cbe5c3e8ba7ad5701291acce3ac78dadf388231.tar nixlib-1cbe5c3e8ba7ad5701291acce3ac78dadf388231.tar.gz nixlib-1cbe5c3e8ba7ad5701291acce3ac78dadf388231.tar.bz2 nixlib-1cbe5c3e8ba7ad5701291acce3ac78dadf388231.tar.lz nixlib-1cbe5c3e8ba7ad5701291acce3ac78dadf388231.tar.xz nixlib-1cbe5c3e8ba7ad5701291acce3ac78dadf388231.tar.zst nixlib-1cbe5c3e8ba7ad5701291acce3ac78dadf388231.zip |
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.
Diffstat (limited to 'pkgs/build-support/rust/default-crate-overrides.nix')
0 files changed, 0 insertions, 0 deletions