1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 21:38:26 +00:00

build: update Rust overlay, switch to Rust stable 1.63

This commit is contained in:
matejcik 2022-08-12 14:11:02 +02:00 committed by matejcik
parent cc2bfd9c39
commit 459270ef3f

View File

@ -5,8 +5,8 @@
let let
# the last commit from master as of 2022-02-08 # the last commit from master as of 2022-02-08
rustOverlay = import (builtins.fetchTarball { rustOverlay = import (builtins.fetchTarball {
url = "https://github.com/oxalica/rust-overlay/archive/2eae19e246433530998cbf239d5505b7b87bc854.tar.gz"; url = "https://github.com/oxalica/rust-overlay/archive/b38c1683594aeefa5c3c4dde115401f059146be6.tar.gz";
sha256 = "0panx24sqcvx52wza02zsxmpkhg6xld7hklrv7dybc59akqm2ira"; sha256 = "0rk4i42cys2v7k2ir57x5qa8dc37nrs432cdpbr4cddskgvyi8ky";
}); });
# the last successful build of nixpkgs-unstable as of 2022-06-20 # the last successful build of nixpkgs-unstable as of 2022-06-20
nixpkgs = import (builtins.fetchTarball { nixpkgs = import (builtins.fetchTarball {
@ -29,7 +29,7 @@ let
chmod -w $out chmod -w $out
''; '';
# NOTE: don't forget to update Minimum Supported Rust Version in docs/core/build/emulator.md # NOTE: don't forget to update Minimum Supported Rust Version in docs/core/build/emulator.md
rustProfiles = nixpkgs.rust-bin.stable."1.58.1"; rustProfiles = nixpkgs.rust-bin.stable."1.63.0";
rustStable = rustProfiles.minimal.override { rustStable = rustProfiles.minimal.override {
targets = [ targets = [
"thumbv7em-none-eabihf" # TT "thumbv7em-none-eabihf" # TT