Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtask: Fix channel of cargo operations #466

Merged
merged 1 commit into from Jul 12, 2022

Conversation

nicholasbishop
Copy link
Contributor

Starting in rustup 1.25.0, the environment is modified during cargo
invocations in a way that breaks setting the channel arg
(e.g. "+nightly") in a subprocess.

Fix by unsetting those variables in the child cargo's env.

See rust-lang/rustup#3031

Starting in rustup 1.25.0, the environment is modified during `cargo`
invocations in a way that breaks setting the channel arg
(e.g. "+nightly") in a subprocess.

Fix by unsetting those variables in the child cargo's env.

See rust-lang/rustup#3031
@nicholasbishop nicholasbishop merged commit c171a4e into rust-osdev:main Jul 12, 2022
@nicholasbishop nicholasbishop deleted the bishop-fix-xtask-2 branch July 12, 2022 15:41
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.

None yet

1 participant