We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e6ebb3 commit 24c2a15Copy full SHA for 24c2a15
ci/run.sh
@@ -55,7 +55,13 @@ case $TRAVIS_OS_NAME in
55
esac
56
57
# NOTE On i586, It's normal that the get_pc_thunk symbol appears several times so ignore it
58
-stdout=$($PREFIX$NM -g --defined-only /target/${1}/debug/librustc_builtins.rlib)
+if [ $TRAVIS_OS_NAME = osx ]; then
59
+ path=target/${1}/debug/librustc_builtins.rlib
60
+else
61
+ path=/target/${1}/debug/librustc_builtins.rlib
62
+fi
63
+
64
+stdout=$($PREFIX$NM -g --defined-only $path)
65
66
set +e
67
echo "$stdout" | sort | uniq -d | grep -v __x86.get_pc_thunk | grep 'T __'
0 commit comments