#!/usr/bin/env bash # Cargo always enters the Mac policy, including direct toolchain cargo calls. set -euo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" if [ -n "${COTTON_RUSTC_CACHE_WRAPPER:-}" ]; then exec bash "$HERE/mac-build-policy.sh" -- "$COTTON_RUSTC_CACHE_WRAPPER" "$@" fi exec bash "$HERE/mac-build-policy.sh" -- "$@"