Skip to content

Cleanup compiletest dylib name calculation #127962

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented Jul 19, 2024

Use std::env::consts::{DLL_PREFIX, DLL_EXTENSION} for dylib name calculation which is more accurate for the various different platforms, and is more likely to be looked at by target maintainers.

cc @bzEq (as this impacts how compiletest handles AIX dll extensions)

@rustbot
Copy link
Collaborator

rustbot commented Jul 19, 2024

r? @wesleywiser

rustbot has assigned @wesleywiser.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@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 Jul 19, 2024
@jieyouxu
Copy link
Member Author

@rustbot blocked (on #127953 getting merged first, will need a rebase after)

@rustbot rustbot added S-blocked Status: Blocked on something else such as an RFC or other implementation work. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 19, 2024
@rust-cloud-vms rust-cloud-vms bot force-pushed the cleanup-dll-compiletest branch from b654668 to 3855c54 Compare July 19, 2024 13:45
@jieyouxu
Copy link
Member Author

@rustbot ready (rebased)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-blocked Status: Blocked on something else such as an RFC or other implementation work. labels Jul 19, 2024
@fmease
Copy link
Member

fmease commented Jul 23, 2024

r? fmease @bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jul 23, 2024

📌 Commit 3855c54 has been approved by fmease

It is now in the queue for this repository.

@rustbot rustbot assigned fmease and unassigned wesleywiser Jul 23, 2024
@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 Jul 23, 2024
tgross35 added a commit to tgross35/rust that referenced this pull request Jul 23, 2024
…r=fmease

Cleanup compiletest dylib name calculation

Use `std::env::consts::{DLL_PREFIX, DLL_EXTENSION}` for dylib name calculation which is more accurate for the various different platforms, and is more likely to be looked at by target maintainers.

cc `@bzEq` (as this impacts how compiletest handles AIX dll extensions)
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 23, 2024
Rollup of 7 pull requests

Successful merges:

 - rust-lang#124895 (Disallow hidden references to mutable static)
 - rust-lang#125834 (treat `&raw (const|mut) UNSAFE_STATIC` implied deref as safe)
 - rust-lang#126898 (Migrate `run-make/link-framework` to `rmake.rs`)
 - rust-lang#127962 (Cleanup compiletest dylib name calculation)
 - rust-lang#127990 (Migrate `lto-linkage-used-attr`, `no-duplicate-libs` and `pgo-gen-no-imp-symbols` `run-make` tests to rmake)
 - rust-lang#128067 (Get rid of `can_eq_shallow`)
 - rust-lang#128076 (Get rid of `InferCtxtExt` from `error_reporting::traits`)

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

Rollup of 6 pull requests

Successful merges:

 - rust-lang#125834 (treat `&raw (const|mut) UNSAFE_STATIC` implied deref as safe)
 - rust-lang#127962 (Cleanup compiletest dylib name calculation)
 - rust-lang#128049 (Reword E0626 to mention static coroutine, add structured suggestion for adding `static`)
 - rust-lang#128067 (Get rid of `can_eq_shallow`)
 - rust-lang#128076 (Get rid of `InferCtxtExt` from `error_reporting::traits`)
 - rust-lang#128089 (std: Unsafe-wrap actually-universal platform code)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 3ab435b into rust-lang:master Jul 23, 2024
6 checks passed
@rustbot rustbot added this to the 1.82.0 milestone Jul 23, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jul 23, 2024
Rollup merge of rust-lang#127962 - jieyouxu:cleanup-dll-compiletest, r=fmease

Cleanup compiletest dylib name calculation

Use `std::env::consts::{DLL_PREFIX, DLL_EXTENSION}` for dylib name calculation which is more accurate for the various different platforms, and is more likely to be looked at by target maintainers.

cc ``@bzEq`` (as this impacts how compiletest handles AIX dll extensions)
@jieyouxu jieyouxu deleted the cleanup-dll-compiletest branch March 8, 2025 15:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc 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.

5 participants