Use `nm` on OSX

Looks like it may be fixed now?
master
Alex Crichton 2018-11-21 10:48:58 -08:00
parent d74c506aab
commit 2da5d40e84
1 changed files with 1 additions and 12 deletions

View File

@ -64,18 +64,7 @@ case $1 in
;;
esac
case "$TRAVIS_OS_NAME" in
osx)
# NOTE OSx's nm doesn't accept the `--defined-only` or provide an equivalent.
# Use GNU nm instead
NM=gnm
brew update
brew install binutils
;;
*)
NM=nm
;;
esac
NM=nm
if [ -d /target ]; then
path=/target/${1}/debug/deps/libcompiler_builtins-*.rlib