From: Kristoffer Haugsbakk Date: Sat, 23 Aug 2025 14:26:15 GMT Subject: Re: [PATCH v3 02/15] xdiff: introduce rust Message-ID: <4dffd698-9d3c-41c8-9d3f-0d3750e683d3@app.fastmail.com> In-Reply-To: <030a01dc1433$ee3e2510$caba6f30$@nexbridge.com> On Sat, Aug 23, 2025, at 15:43, rsbecker@nexbridge.com wrote: > On August 22, 2025 11:56 PM, Ezekiel Newren wrote: >>From: Ezekiel Newren >> >>Upcoming patches will simplify xdiff, while also porting parts of it to Rust. In >>preparation, add some stubs and setup the Rust build. For now, it is easier to let >>cargo build rust and have make or meson merely link against the static library that >>cargo builds. In line with ongoing libification efforts, use multiple crates to allow >>more modularity on the Rust side. xdiff is the crate that this series will focus on, but >>we also introduce the interop crate for future patch series. >> >>In order to facilitate interoperability between C and Rust, introduce C definitions for >>Rust primitive types in git-compat-util.h. >> >>Signed-off-by: Ezekiel Newren >>[snip snip] > > Does this introduce Rust as a mandatory dependency for git? If so, it cuts out > numerous platforms. The proposed platform support policy is in patch 1. https://lore.kernel.org/git/6d065f550fe871cf010409f7bd2a63438cf52723.1755921357.git.gitgitgadget@gmail.com/