From da924927a00625f9cbeaeabced10c23a0a59d695 Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Wed, 15 Apr 2026 02:33:23 +0200 Subject: [PATCH] cleanup: split up assignment and export This prevents hiding failures of the `rustc` command. Part of #12636 --- build_tools/check.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_tools/check.sh b/build_tools/check.sh index e57bf2a41..6d00da50e 100755 --- a/build_tools/check.sh +++ b/build_tools/check.sh @@ -113,7 +113,8 @@ fi # - https://github.com/msys2/MSYS2-packages/issues/5784 ( if $is_cygwin; then - export PATH="$PATH:$(rustc --print target-libdir)" + PATH="$PATH:$(rustc --print target-libdir)" + export PATH fi cargo test --no-default-features --workspace --all-targets )