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

Clean dead codes in miri #118399

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Clean dead codes in miri #118399

merged 1 commit into from
Nov 29, 2023

Conversation

mu001999
Copy link
Contributor

Detected by #118257

@rustbot
Copy link
Collaborator

rustbot commented Nov 28, 2023

r? @Mark-Simulacrum

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 28, 2023
@rustbot
Copy link
Collaborator

rustbot commented Nov 28, 2023

The Miri subtree was changed

cc @rust-lang/miri

@RalfJung
Copy link
Member

I think we used to need this for is_tty, and I figured I'd leave it around in case we need it again in the future. But I'd also be fine with removing this. @saethlin what do you think?

@mu001999 for the future, please submit such Miri-only PRs at https://github.com/rust-lang/miri/ . But it's okay for now, we can land this one in rustc directly and sync it to Miri.

@saethlin
Copy link
Member

I'm always in favor of deleting dead code. If we need it back, we have our commit history.

@RalfJung
Copy link
Member

Works for me.

@bors r+

@bors
Copy link
Contributor

bors commented Nov 28, 2023

📌 Commit 72668de has been approved by RalfJung

It is now in the queue for this repository.

@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 Nov 28, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 28, 2023
…iaskrgr

Rollup of 6 pull requests

Successful merges:

 - rust-lang#118193 (Add missing period in `std::process::Command` docs)
 - rust-lang#118222 (unify read_to_end and io::copy impls for reading into a Vec)
 - rust-lang#118323 (give dev-friendly error message for incorrect config profiles)
 - rust-lang#118378 (Perform LTO optimisations with wasm-ld + -Clinker-plugin-lto)
 - rust-lang#118399 (Clean dead codes in miri)
 - rust-lang#118410 (update test for new LLVM 18 codegen)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 28, 2023
…iaskrgr

Rollup of 6 pull requests

Successful merges:

 - rust-lang#118193 (Add missing period in `std::process::Command` docs)
 - rust-lang#118222 (unify read_to_end and io::copy impls for reading into a Vec)
 - rust-lang#118323 (give dev-friendly error message for incorrect config profiles)
 - rust-lang#118378 (Perform LTO optimisations with wasm-ld + -Clinker-plugin-lto)
 - rust-lang#118399 (Clean dead codes in miri)
 - rust-lang#118410 (update test for new LLVM 18 codegen)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 71b29e8 into rust-lang:master Nov 29, 2023
11 checks passed
@rustbot rustbot added this to the 1.76.0 milestone Nov 29, 2023
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 29, 2023
Rollup merge of rust-lang#118399 - mu001999:miri/cleanup, r=RalfJung

Clean dead codes in miri

Detected by rust-lang#118257
@mu001999 mu001999 deleted the miri/cleanup branch November 29, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

6 participants