nixpkgs/pkgs/build-support/rust/lib
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
..
default.nix rust.toRustTargetForUseInEnvVars: support custom targets 2023-10-03 12:30:04 +00:00