cleanup: split up assignment and export

This prevents hiding failures of the `rustc` command.

Part of #12636
This commit is contained in:
Daniel Rainer
2026-04-15 02:33:23 +02:00
committed by Johannes Altmanninger
parent 29ff2fdd43
commit da924927a0

View File

@@ -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
)