Skip to content

Commit 36b3fbd

Browse files
committed
Try to fix i686-pc-windows-gnu
1 parent ce105a4 commit 36b3fbd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/run.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,12 @@ case $1 in
4242
;;
4343
esac
4444

45-
NM=$(find $(rustc --print sysroot) \( -name llvm-nm -o -name llvm-nm.exe \) )
45+
rustc_sysroot=$(rustc --print sysroot)
46+
NM=$(find $rustc_sysroot \( -name llvm-nm -o -name llvm-nm.exe \) )
4647
if [ "$NM" = "" ]; then
4748
NM=${PREFIX}nm
49+
else
50+
PATH=$rustc_sysroot/bin:$PATH
4851
fi
4952

5053
# Look out for duplicated symbols when we include the compiler-rt (C) implementation

0 commit comments

Comments
 (0)