diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2026-02-07 20:04:34 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-07 17:41:01 -0800 |
| commit | b674d1036a3a82aaccfd5586007006f1f08648ef (patch) | |
| tree | 65d2ef1eadb7b34ca9b83ced4bc0b026cf46ab07 /Makefile | |
| parent | 67e526c33e025918c146c7cb61007cc2ffc46661 (diff) | |
| download | git-b674d1036a3a82aaccfd5586007006f1f08648ef.tar.xz | |
rust: add a ObjectID struct
We'd like to be able to write some Rust code that can work with object
IDs. Add a structure here that's identical to struct object_id in C,
for easy use in sharing across the FFI boundary. We will use this
structure in several places in hot paths, such as index-pack or
pack-objects when converting between algorithms, so prioritize efficient
interchange over a more idiomatic Rust approach.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1545,6 +1545,7 @@ CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/unit-test.o UNIT_TEST_OBJS += $(UNIT_TEST_DIR)/test-lib.o +RUST_SOURCES += src/hash.rs RUST_SOURCES += src/lib.rs RUST_SOURCES += src/varint.rs |
