diff options
Diffstat (limited to 'third_party/rust/mach/ci/build_fail.sh')
-rwxr-xr-x | third_party/rust/mach/ci/build_fail.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rust/mach/ci/build_fail.sh b/third_party/rust/mach/ci/build_fail.sh new file mode 100755 index 0000000000..ef35965468 --- /dev/null +++ b/third_party/rust/mach/ci/build_fail.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -ex + +: "${TARGET?The TARGET environment variable must be set.}" + +! cargo build --target "${TARGET}" |