Context
- Git 2.49 introduced a Rust foreign function interface.
- Currently, Rust support is optional in Git builds.
- RFC Proposal by Patrick Steinhardt
- Introduce Rust into Git’s core as a test balloon.
- Objectives:
- Allow experimentation and set up build infrastructure.
- Give distributors time to adapt to Rust toolchain needs.
- Signal that Git 3.0 will mandate Rust in the build system.
- Concerns
- Mandatory Rust may restrict platform and architecture support compared to C-only builds.
- Additional Note
- Git 3.0 is also planned to switch to SHA-256 as default.
- Status
- Discussion is ongoing on the Git mailing list.




