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

Eliminate the use of public_test_dep! #747

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

tgross35
Copy link
Contributor

@tgross35 tgross35 commented Jan 15, 2025

Replace public_test_dep! by placing optionally public items into new modules, then controlling what is exported with the public-test-deps feature.

This is nicer for automatic formatting and diagnostics.

This is a reland of 2e2a925 ("Eliminate the use of public_test_dep!"), which was reverted in 47e50fd ('Revert "Eliminate the use of..."') due to a bug exposed at 1. This was fixed in 2, so the cleanup should be able to be applied again.

Replace `public_test_dep!` by placing optionally public items into new
modules, then controlling what is exported with the `public-test-deps`
feature.

This is nicer for automatic formatting and diagnostics.

This is a reland of 2e2a925 ("Eliminate the use of
`public_test_dep!`"), which was reverted in 47e50fd ('Revert "Eliminate
the use of..."') due to a bug exposed at [1]. This was fixed in [2], so
the cleanup should be able to be applied again.

[1]: rust-lang/rust#128691
[2]: rust-lang/rust#135278
@tgross35 tgross35 merged commit d4abaf4 into rust-lang:master Jan 15, 2025
26 checks passed
@tgross35 tgross35 deleted the public-test-deps branch January 15, 2025 21:18
@nikic
Copy link
Contributor

nikic commented Jan 28, 2025

Could this be reverted until the issues with this change are resolved?

@tgross35
Copy link
Contributor Author

Let me see if I can get it fixed today since the same issue is blocking future progress with libm too. If not then yeah, I will have to revert again in order to get the uefi fix into r-l/rust.

@tgross35
Copy link
Contributor Author

tgross35 commented Jan 28, 2025

rust-lang/rust#135501 should be ready to go, which unblocks this. Assuming that can merge in the near future, I will get #752 upstream right after.

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.

2 participants