summaryrefslogtreecommitdiffstats
path: root/third_party/rust/mach/ci/build_fail.sh
blob: ef35965468490f1e0127c893ea36efaeeec833bf (plain)
1
2
3
4
5
6
7
#!/usr/bin/env bash

set -ex

: "${TARGET?The TARGET environment variable must be set.}"

! cargo build --target "${TARGET}"