]> git.ipfire.org Git - thirdparty/git.git/commit
varint: reimplement as test balloon for Rust
authorPatrick Steinhardt <ps@pks.im>
Thu, 2 Oct 2025 07:29:31 +0000 (09:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Oct 2025 16:32:32 +0000 (09:32 -0700)
commit8832e728d362992a38eef89613b44d24f18e6c2a
tree0762b93f2b58aa01ebc8a39166bd363141a40821
parentf366bfe16b350240c70c487d180c76ddcb8a1b2d
varint: reimplement as test balloon for Rust

Implement a trivial test balloon for our Rust build infrastructure by
reimplementing the "varint.c" subsystem in Rust. This subsystem is
chosen because it is trivial to convert and because it doesn't have any
dependencies to other components of Git.

If support for Rust is enabled, we stop compiling "varint.c" and instead
compile and use "src/varint.rs".

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
meson.build
src/lib.rs
src/meson.build
src/varint.rs [new file with mode: 0644]