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

Remove CommandEnv::apply #92396

Merged
merged 1 commit into from
Jan 2, 2022

Conversation

KamilaBorowska
Copy link
Contributor

@KamilaBorowska KamilaBorowska commented Dec 29, 2021

It's not being used and uses unsound set_var and remove_var functions. This is an internal function that isn't exported (even with process_internals feature), so this shouldn't break anything.

Also see #92365. Note that this isn't the only use of those methods in standard library, so that particular pull request will need more changes than just this to work (in particular, test_capture_env_at_spawn is using set_var and remove_var).

It's not being used and uses unsound set_var and remove_var
functions.
@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 29, 2021
@Mark-Simulacrum
Copy link
Member

Seems ok if CI passes, even if just as dead code removal; thanks!

@bors r+ rollup=iffy

@bors
Copy link
Contributor

bors commented Jan 1, 2022

📌 Commit 14fc9dc has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 1, 2022
@bors
Copy link
Contributor

bors commented Jan 1, 2022

⌛ Testing commit 14fc9dc with merge dd3ac41...

@bors
Copy link
Contributor

bors commented Jan 2, 2022

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing dd3ac41 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jan 2, 2022
@bors bors merged commit dd3ac41 into rust-lang:master Jan 2, 2022
@rustbot rustbot added this to the 1.59.0 milestone Jan 2, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (dd3ac41): comparison url.

Summary: This benchmark run did not return any relevant changes.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants