Add a FIXME for Windows

This commit is contained in:
Alex Crichton 2017-06-24 10:12:17 -07:00
parent 734ec3d31c
commit 5d6d3fde6a

View File

@ -94,9 +94,17 @@ for rlib in $(echo $path); do
set +x
stdout=$($PREFIX$NM -g --defined-only $rlib 2>&1)
# NOTE On i586, It's normal that the get_pc_thunk symbol appears several times so ignore it
# NOTE On i586, It's normal that the get_pc_thunk symbol appears several
# times so ignore it
#
# FIXME(#167) - we shouldn't ignore `__builtin_cl` style symbols here.
set +e
echo "$stdout" | sort | uniq -d | grep -v __x86.get_pc_thunk | grep 'T __'
echo "$stdout" | \
sort | \
uniq -d | \
grep -v __x86.get_pc_thunk | \
grep -v __builtin_cl | \
grep 'T __'
if test $? = 0; then
exit 1