Add cross to Rust env

This commit is contained in:
Luc Perkins 2022-07-31 22:49:23 +02:00
parent f6ab73a1d3
commit a3134d2ce7
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
2 changed files with 3 additions and 1 deletions

View file

@ -174,6 +174,7 @@ The sections below list what each template includes. In all cases, you're free t
- [rust-analyzer] 2022-07-11 - [rust-analyzer] 2022-07-11
- [cargo-audit] 0.17.0 - [cargo-audit] 0.17.0
- [cargo-deny] 0.12.1 - [cargo-deny] 0.12.1
- [cross] 0.2.4
### [`scala`](./scala/) ### [`scala`](./scala/)
@ -195,6 +196,7 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
[cargo-audit]: https://crates.io/crates/cargo-audit [cargo-audit]: https://crates.io/crates/cargo-audit
[cargo-deny]: https://crates.io/crates/cargo-deny [cargo-deny]: https://crates.io/crates/cargo-deny
[clippy]: https://github.com/rust-lang/rust-clippy [clippy]: https://github.com/rust-lang/rust-clippy
[cross]: https://github.com/cross-rs/cross
[cue]: https://cuelang.org [cue]: https://cuelang.org
[damon]: https://github.com/hashicorp/damon [damon]: https://github.com/hashicorp/damon
[dhall]: https://dhall-lang.org [dhall]: https://dhall-lang.org

View file

@ -27,7 +27,7 @@
deps = with pkgs; [ openssl pkgconfig ]; deps = with pkgs; [ openssl pkgconfig ];
rustTools = with pkgs; rustTools = with pkgs;
[ cargo-audit cargo-deny rust-analyzer ] ++ optionals isLinux (with pkgs; [ cargo-watch ]); [ cargo-audit cargo-deny cargo-cross rust-analyzer ] ++ optionals isLinux (with pkgs; [ cargo-watch ]);
in { in {
packages.default = rust; packages.default = rust;