We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7876fe commit cb306ddCopy full SHA for cb306dd
genbindings.sh
@@ -637,8 +637,8 @@ if [ "$CLANGPP" != "" -a "$LLD" != "" ]; then
637
MANUAL_LINK_CFLAGS="$MANUAL_LINK_CFLAGS -C link-arg=$ARG"
638
done
639
# rustc appears to always look for rust-objcopy, though this may be fixed by
640
- # https://github.com/rust-lang/rust/pull/134240 in rust 1.85.
641
- if [ "$RUSTC_MINOR_VERSION" = 84 ]; then
+ # https://github.com/rust-lang/rust/pull/134240 in rust 1.85 (it is not).
+ if [ "$RUSTC_MINOR_VERSION" -ge 84 ]; then
642
mkdir -p objcopy-bin
643
ln -s `which llvm-objcopy` objcopy-bin/rust-objcopy
644
PATH="$PATH:$(pwd)/objcopy-bin"
0 commit comments