nix: update to rust-1.65

Update to rust-1.65[0].

All hail our new GATs overlord!

[0]: https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
Fintan Halpenny
2022-11-04 11:13:57 +00:00
parent 7a82c404c4
commit d349b18156
8 changed files with 34 additions and 16 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ fn discover(pack_dir: impl AsRef<Path>) -> Result<im::Vector<Arc<pack::Index>>,
let pack_dir = pack_dir.as_ref();
let pack_dir_disp = pack_dir.display();
trace!("discovering packs at {}", pack_dir_disp);
match fs::read_dir(&pack_dir) {
match fs::read_dir(pack_dir) {
Ok(iter) => {
let mut paths = Vec::new();
for entry in iter {
+1 -1
View File
@@ -149,7 +149,7 @@ where
)
.env("GIT_PROTOCOL", format!("version={}", protocol_version))
.env("GIT_NAMESPACE", namespace)
.args(&[
.args([
"-c",
"uploadpack.allowanysha1inwant=true",
"-c",
+1 -1
View File
@@ -74,7 +74,7 @@ where
.arg(format!("uploadpack.hiderefs=!{}", r.as_bstr()));
}
cmd.args(&[
cmd.args([
"upload-pack",
"--strict",
"--timeout=5",