Use nm on OSX

Looks like it may be fixed now?
This commit is contained in:
Alex Crichton 2018-11-21 10:48:58 -08:00
parent d74c506aab
commit 2da5d40e84

View File

@ -64,18 +64,7 @@ case $1 in
;; ;;
esac esac
case "$TRAVIS_OS_NAME" in NM=nm
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
if [ -d /target ]; then if [ -d /target ]; then
path=/target/${1}/debug/deps/libcompiler_builtins-*.rlib path=/target/${1}/debug/deps/libcompiler_builtins-*.rlib