From: Matt Corallo Date: Tue, 28 Feb 2023 06:58:25 +0000 (+0000) Subject: Note that cross-language LTO requires lld in addition to clang X-Git-Tag: v0.0.114.0^2~3 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=383bd4789b261db58586151e6cf566e56a2dcdb0;p=ldk-c-bindings Note that cross-language LTO requires lld in addition to clang --- diff --git a/genbindings.sh b/genbindings.sh index 5f2c26f..731ff9a 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -571,5 +571,5 @@ else if [ "$CFLAGS_aarch64_apple_darwin" != "" ]; then RUSTFLAGS="$BASE_RUSTFLAGS -C embed-bitcode=yes -C lto -C target-cpu=apple-a14" CARGO_PROFILE_RELEASE_LTO=true cargo build $CARGO_BUILD_ARGS -v --release --target aarch64-apple-darwin fi - echo "WARNING: Building with cross-language LTO is not avilable without clang-$RUSTC_LLVM_V" + echo "WARNING: Building with cross-language LTO is not avilable without clang-$RUSTC_LLVM_V and lld-$RUSTC_LLVM_V" fi