From: Junio C Hamano Date: Wed, 12 Feb 2025 18:08:53 +0000 (-0800) Subject: Merge branch 'js/libgit-rust' X-Git-Tag: v2.49.0-rc0~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4af0b6288e25eb327ae9018cee09def9e43f1cd;p=thirdparty%2Fgit.git Merge branch 'js/libgit-rust' Foreign language interface for Rust into our code base has been added. * js/libgit-rust: libgit: add higher-level libgit crate libgit-sys: also export some config_set functions libgit-sys: introduce Rust wrapper for libgit.a common-main: split init and exit code into new files --- a4af0b6288e25eb327ae9018cee09def9e43f1cd diff --cc Makefile index 42aaa2368a,c9c54b6ab0..90c9662ad3 --- a/Makefile +++ b/Makefile @@@ -2248,10 -2242,12 +2256,16 @@@ ifdef FSMONITOR_OS_SETTING COMPAT_OBJS += compat/fsmonitor/fsm-path-utils-$(FSMONITOR_OS_SETTINGS).o endif +ifdef WITH_BREAKING_CHANGES + BASIC_CFLAGS += -DWITH_BREAKING_CHANGES +endif + + ifdef INCLUDE_LIBGIT_RS + # Enable symbol hiding in contrib/libgit-sys/libgitpub.a without making + # us rebuild the whole tree every time we run a Rust build. + BASIC_CFLAGS += -fvisibility=hidden + endif + ifeq ($(TCLTK_PATH),) NO_TCLTK = NoThanks endif