summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2026-02-07 20:04:31 +0000
committerJunio C Hamano <gitster@pobox.com>2026-02-07 17:41:00 -0800
commit13ecc938422b204170a3276edb427e0ff38e3670 (patch)
tree6163119b3a45373dc9bbd61c47b7154c1fdcf9ad /contrib/persistent-https
parent3e0db84c88c57e70ac8be8c196dfa92c5d656fbc (diff)
downloadgit-13ecc938422b204170a3276edb427e0ff38e3670.tar.gz
git-13ecc938422b204170a3276edb427e0ff38e3670.zip
repository: require Rust support for interoperability
We'll be implementing some of our interoperability code, like the loose object map, in Rust. While the code currently compiles with the old loose object map format, which is written entirely in C, we'll soon replace that with the Rust-based implementation. Require the use of Rust for compatibility mode and die if it is not supported. Because the repo argument is not used when Rust is missing, cast it to void to silence the compiler warning, which we do not care about. Add a prerequisite in our tests, RUST, that checks if Rust functionality is available and use it in the tests that handle interoperability. This is technically a regression in functionality compared to our existing state, but pack index v3 is not yet implemented and thus the functionality is mostly quite broken, which is why we've recently marked this functionality as experimental. We don't believe anyone is getting useful use out of the interoperability code in its current state, so no actual users should be negatively impacted by this change. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions