1#!/bin/sh
2set -e
3
4if otool -L $1 | grep -q libtest; then
5 >&2 echo "error: rust_binary is dynamically linked against libtest!"
6 exit 1
7fi
8
9if otool -L $1 | grep -q libstd; then
10 >&2 echo "error: rust_binary is dynamically linked against libstd!"
11 exit 1
12fi
13