feat(rust): upgrade to 2024-05-24 nightly

This commit is contained in:
Harsh Shandilya 2024-05-25 01:19:43 +05:30
parent 470fc5b138
commit 391078e2c3
3 changed files with 3 additions and 6 deletions

View file

@ -41,7 +41,7 @@
rustNightly = (import fenix {inherit pkgs;}).fromToolchainFile { rustNightly = (import fenix {inherit pkgs;}).fromToolchainFile {
file = ./rust-toolchain.toml; file = ./rust-toolchain.toml;
sha256 = "sha256-Je+rS6Tgc04HqvDj2XvjOpbyIAcEee0JqqrG7+cUydI="; sha256 = "sha256-Fo3VT4BvAUzTBjRNZQJGy7X5/X+CL0KzNPjmozMl93A=";
}; };
craneLib = (crane.mkLib pkgs).overrideToolchain rustNightly; craneLib = (crane.mkLib pkgs).overrideToolchain rustNightly;

View file

@ -1,5 +1,5 @@
[toolchain] [toolchain]
channel = "nightly-2024-01-09" channel = "nightly-2024-05-24"
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"

View file

@ -144,8 +144,5 @@ fn get_url(repo: &Repository, remote_name: &str) -> String {
} }
} }
match remote_url { remote_url.unwrap_or_default()
Some(url) => url,
None => String::default(),
}
} }