Skip to content

Don't overwrite env for cargo-metadata call#285

Merged
Swatinem merged 1 commit intoSwatinem:masterfrom
MaeIsBad:dont_overwrite_env_for_cargo_metadata
Nov 18, 2025
Merged

Don't overwrite env for cargo-metadata call#285
Swatinem merged 1 commit intoSwatinem:masterfrom
MaeIsBad:dont_overwrite_env_for_cargo_metadata

Conversation

@MaeIsBad
Copy link
Contributor

@MaeIsBad MaeIsBad commented Nov 18, 2025

In some cases(eg. if RUST_TOOLCHAIN is set and cargo is managed by rustup) cargo metadata will behave
incorrectly if some environment variables are removed

Resolves #264

In some cases(eg. if RUST_TOOLCHAIN is set and cargo
is managed by rustup) cargo metadata will behave
incorrectly if some environment variables are removed
@Swatinem Swatinem merged commit e306f83 into Swatinem:master Nov 18, 2025
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust-cache 2.8.1 regression regarding process environment variables

2 participants