There's a closed pull request on the void-packages repository common/environment/setup/sourcepkg.sh: preserve RUST_TARGET variable https://github.com/void-linux/void-packages/pull/42093 Description: Found when preparing an update for Rust #### Testing the changes - I tested the changes in this PR: **YES**