Skip to content

Commit 383bd47

Browse files
committed
Note that cross-language LTO requires lld in addition to clang
1 parent 12da506 commit 383bd47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genbindings.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,5 +571,5 @@ else
571571
if [ "$CFLAGS_aarch64_apple_darwin" != "" ]; then
572572
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
573573
fi
574-
echo "WARNING: Building with cross-language LTO is not avilable without clang-$RUSTC_LLVM_V"
574+
echo "WARNING: Building with cross-language LTO is not avilable without clang-$RUSTC_LLVM_V and lld-$RUSTC_LLVM_V"
575575
fi

0 commit comments

Comments
 (0)