There is an updated pull request by tranzystorekk against master on the void-packages repository https://github.com/tranzystorekk/void-packages rust https://github.com/void-linux/void-packages/pull/49437 [WIP] Rust 1.77 #### Testing the changes - I tested the changes in this PR: **NO** (cargo fails to build) Cargo 1.77 started using features from git2 0.18 that we currently patch back to 0.17 to accommodate libgit2 1.6: https://github.com/rust-lang/cargo/blob/3fe68eabf93cbf3772bbcad09a9206c783e2de3f/src/cargo/sources/git/utils.rs#L1108-L1110 The simplest way forward is probably to stop downgrading git2, but that requires merging https://github.com/void-linux/void-packages/pull/45976 first. Also had to manually disable optimized-compiler-builtins as they are incorrectly enabled by default: https://github.com/rust-lang/rust/pull/119556 A patch file from https://github.com/void-linux/void-packages/pull/49437.patch is attached