aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2025-10-27 00:44:00 +0000
committerJunio C Hamano <gitster@pobox.com>2025-10-29 07:35:01 -0700
commit970e48c52003cd534e72a2d963e8ffebaa47f3ef (patch)
tree60c5652e9750773e1da141adc33850e3b88105dd /commit-graph.h
parenthash: expose hash context functions to Rust (diff)
downloadgit-970e48c52003cd534e72a2d963e8ffebaa47f3ef.tar.gz
git-970e48c52003cd534e72a2d963e8ffebaa47f3ef.zip
rust: add a build.rs script for tests
Cargo uses the build.rs script to determine how to compile and link a binary. The only binary we're generating, however, is for our tests, but in a future commit, we're going to link against libgit.a for some functionality and we'll need to make sure the test binaries are complete. Add a build.rs file for this case and specify the files we're going to be linking against. Because we cannot specify different dependencies when building our static library versus our tests, update the Makefile to specify these dependencies for our static library to avoid race conditions during build. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.h')
0 files changed, 0 insertions, 0 deletions