fix(rust): upgrade to Rust 1.88.0

This commit is contained in:
Harsh Shandilya 2025-06-27 12:28:49 +05:30
parent 6e5975aad0
commit c1d30f656b
2 changed files with 5 additions and 5 deletions

View file

@ -40,12 +40,12 @@
overlays = [ devshell.overlays.default ]; overlays = [ devshell.overlays.default ];
}; };
rustNightly = (import fenix { inherit pkgs; }).fromToolchainFile { rustStable = (import fenix { inherit pkgs; }).fromToolchainFile {
file = ./rust-toolchain.toml; file = ./rust-toolchain.toml;
sha256 = "sha256-AJ6LX/Q/Er9kS15bn9iflkUwcgYqRQxiOIL2ToVAXaU="; sha256 = "sha256-Qxt8XAuaUR2OMdKbN4u8dBJOhSHxS+uS06Wl9+flVEk=";
}; };
craneLib = (crane.mkLib pkgs).overrideToolchain rustNightly; craneLib = (crane.mkLib pkgs).overrideToolchain rustStable;
src = craneLib.cleanCargoSource ./.; src = craneLib.cleanCargoSource ./.;
nativeBuildInputs = [ ]; nativeBuildInputs = [ ];
buildInputs = [ ]; buildInputs = [ ];
@ -108,7 +108,7 @@
cargo-release cargo-release
fenix.packages.${system}.rust-analyzer fenix.packages.${system}.rust-analyzer
git-cliff git-cliff
rustNightly rustStable
stdenv.cc stdenv.cc
]; ];
}; };

View file

@ -1,5 +1,5 @@
[toolchain] [toolchain]
channel = "1.85.0" channel = "1.88.0"
components = ["clippy", "rustfmt", "rust-src"] components = ["clippy", "rustfmt", "rust-src"]
targets = ["x86_64-unknown-linux-gnu"] targets = ["x86_64-unknown-linux-gnu"]
profile = "minimal" profile = "minimal"