added rust-toolchain.toml

This commit is contained in:
Anton-4 2022-03-07 11:32:38 +01:00
parent af9a03b5ba
commit 4da491cf93
No known key found for this signature in database
GPG key ID: C954D6E0F9C0ABFD
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,4 @@
FROM rust:1.58.0-slim-bullseye # make sure to update nixpkgs-unstable in sources.json too so that it uses the same rust version > search for cargo on unstable here: https://search.nixos.org/packages
FROM rust:1.58.0-slim-bullseye # make sure to update rust-toolchain.toml and nixpkgs-unstable in sources.json too so that it uses the same rust version > search for cargo on unstable here: https://search.nixos.org/packages
WORKDIR /earthbuild
prep-debian:

2
rust-toolchain.toml Normal file
View file

@ -0,0 +1,2 @@
[toolchain]
channel = "1.58.0" # make sure to update the rust version in Earthfile as well