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
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