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 ];
};
rustNightly = (import fenix { inherit pkgs; }).fromToolchainFile {
rustStable = (import fenix { inherit pkgs; }).fromToolchainFile {
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 ./.;
nativeBuildInputs = [ ];
buildInputs = [ ];
@ -108,7 +108,7 @@
cargo-release
fenix.packages.${system}.rust-analyzer
git-cliff
rustNightly
rustStable
stdenv.cc
];
};

View file

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