aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/check-rustc
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust/check-rustc')
-rwxr-xr-xcommunity/rust/check-rustc3
1 files changed, 3 insertions, 0 deletions
diff --git a/community/rust/check-rustc b/community/rust/check-rustc
index 2e96a45f60..d4b85be764 100755
--- a/community/rust/check-rustc
+++ b/community/rust/check-rustc
@@ -6,6 +6,9 @@ RUSTC="$1"
TMPDIR="$(pwd)/.tmp-${0##*/}-$RANDOM"
failed=0
+unset RUST_BACKTRACE
+unset RUSTC_CRT_STATIC
+
_rustc() {
printf '\n$ rustc %s\n' "$*"