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

Delete debuginfo test suite infra for gdb without Rust support and lldb with Rust support #129218

Merged
merged 11 commits into from
Aug 19, 2024

Conversation

saethlin
Copy link
Member

@saethlin saethlin commented Aug 17, 2024

Implements #128953

I also deleted all the min-lldb-version: 310 comments, because the oldest compatible distro I can find is Ubuntu 16.04 which ships lldb 3.8, though of course the package that the Ubuntu maintainers put together for that is broken.

Rocky Linux 8 amusingly ships lldb 17, even though it has a similar glibc and kernel version.

This PR is multiple highly mechanical changes. Some of the commits were created by just running sed. You may find it easier to review each commit separately.

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Aug 17, 2024
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@saethlin
Copy link
Member Author

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 18, 2024
Delete debuginfo test suite support for gdb/lldb without native Rust support

Implements rust-lang#128953

I also deleted all the `min-lldb-version: 310` comments, because the oldest compatible distro I can find is Ubuntu 16.04 which ships lldb 3.8, though of course the package that the Ubuntu maintainers put together for that is broken.

r? `@ghost`

try-job: aarch64-apple
try-job: aarch64-gnu
try-job: dist-i586-gnu-i586-i686-musl
try-job: i686-gnu
try-job: i686-gnu-nopt
try-job: i686-mingw
try-job: i686-msvc
try-job: test-various
try-job: x86_64-apple-1
@bors
Copy link
Contributor

bors commented Aug 18, 2024

⌛ Trying commit 259bb30 with merge 03db455...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Aug 18, 2024

💔 Test failed - checks-actions

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 18, 2024
@bors
Copy link
Contributor

bors commented Aug 18, 2024

☔ The latest upstream changes (presumably #128982) made this pull request unmergeable. Please resolve the merge conflicts.

@saethlin
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Aug 18, 2024

⌛ Trying commit 355bf05 with merge 1635624...

bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 18, 2024
Delete debuginfo test suite support for gdb/lldb without native Rust support

Implements rust-lang#128953

I also deleted all the `min-lldb-version: 310` comments, because the oldest compatible distro I can find is Ubuntu 16.04 which ships lldb 3.8, though of course the package that the Ubuntu maintainers put together for that is broken.

Rocky Linux 8 amusingly ships lldb 17, even though it has a similar glibc and kernel version.

This PR is multiple highly mechanical changes. Some of the commits were created by just running `sed`. You may find it easier to review each commit separately.

try-job: x86_64-apple-1
@bors
Copy link
Contributor

bors commented Aug 18, 2024

💔 Test failed - checks-actions

@saethlin
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Aug 18, 2024

⌛ Trying commit b2dae98 with merge 03087b4...

bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 18, 2024
Delete debuginfo test suite support for gdb/lldb without native Rust support

Implements rust-lang#128953

I also deleted all the `min-lldb-version: 310` comments, because the oldest compatible distro I can find is Ubuntu 16.04 which ships lldb 3.8, though of course the package that the Ubuntu maintainers put together for that is broken.

Rocky Linux 8 amusingly ships lldb 17, even though it has a similar glibc and kernel version.

This PR is multiple highly mechanical changes. Some of the commits were created by just running `sed`. You may find it easier to review each commit separately.

try-job: x86_64-apple-1
try-job: aarch64-apple
@saethlin saethlin changed the title Delete debuginfo test suite support for gdb/lldb without native Rust support Delete debuginfo test suite support for gdb without Rust support and lldb with Rust support Aug 18, 2024
@saethlin saethlin changed the title Delete debuginfo test suite support for gdb without Rust support and lldb with Rust support Delete debuginfo test suite infra for gdb without Rust support and lldb with Rust support Aug 18, 2024
@bors
Copy link
Contributor

bors commented Aug 18, 2024

☀️ Try build successful - checks-actions
Build commit: 03087b4 (03087b4a7a8c7d6f0950e8aa803b89bcfe6ad758)

@saethlin saethlin added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 18, 2024
@saethlin saethlin marked this pull request as ready for review August 18, 2024 23:49
@rustbot
Copy link
Collaborator

rustbot commented Aug 18, 2024

Some changes occurred in src/tools/compiletest

cc @jieyouxu

@jieyouxu jieyouxu self-assigned this Aug 19, 2024
Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice cleanup + fixes 💚

println!("NOTE: compiletest thinks it is using GDB without native rust support");
PREFIXES
};
let prefixes = &["gdb"];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remark: nice

@jieyouxu
Copy link
Member

bors-rollup-iffy-400x

@bors
Copy link
Contributor

bors commented Aug 19, 2024

📌 Commit b2dae98 has been approved by jieyouxu

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 Aug 19, 2024
@bors
Copy link
Contributor

bors commented Aug 19, 2024

⌛ Testing commit b2dae98 with merge 4fe1e2b...

@bors
Copy link
Contributor

bors commented Aug 19, 2024

☀️ Test successful - checks-actions
Approved by: jieyouxu
Pushing 4fe1e2b to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 19, 2024
@bors bors merged commit 4fe1e2b into rust-lang:master Aug 19, 2024
7 checks passed
@rustbot rustbot added this to the 1.82.0 milestone Aug 19, 2024
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (4fe1e2b): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

Results (secondary -2.2%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.2% [-2.4%, -2.0%] 2
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 749.421s -> 749.361s (-0.01%)
Artifact size: 336.74 MiB -> 336.71 MiB (-0.01%)

@saethlin saethlin deleted the gdb-supports-rust-now branch August 19, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc 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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delete all code for handling lldb and gdb versions that don't support Rust natively
6 participants