Skip to content

Conversation

GuillaumeGomez
Copy link
Member

I think it's better to make this constant public so it can be used by crates using libtest as dependency.

As a side-note, I will update #143900 to make use of this constant once this is current PR is merged.

@rustbot
Copy link
Collaborator

rustbot commented Jul 22, 2025

r? @notriddle

rustbot has assigned @notriddle.
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 S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Jul 22, 2025
@GuillaumeGomez
Copy link
Member Author

Might be better to assign someone from the libs team instead.

r? @Amanieu

@rustbot rustbot assigned Amanieu and unassigned notriddle Jul 22, 2025
@jieyouxu jieyouxu added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. and removed T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jul 22, 2025
@rust-log-analyzer

This comment has been minimized.

@@ -90,7 +90,7 @@ use test_result::*;
use time::TestExecTime;

// Process exit code to be used to indicate test failures.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Process exit code to be used to indicate test failures.
/// Process exit code to be used to indicate test failures.

@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez
Copy link
Member Author

Hum... I'll remove the change in librustdoc and make it as a follow-up since it seems it cannot be done in one PR. That's a bit sad.

@Amanieu
Copy link
Member

Amanieu commented Jul 25, 2025

This is fine since the entire libtest API is unstable.

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 25, 2025

📌 Commit 3329c43 has been approved by Amanieu

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 Jul 25, 2025
@bors
Copy link
Collaborator

bors commented Jul 30, 2025

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

@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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 30, 2025
@GuillaumeGomez
Copy link
Member Author

@bors r=Amanieu rollup

@bors
Copy link
Collaborator

bors commented Jul 31, 2025

📌 Commit bee5fbf has been approved by Amanieu

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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 31, 2025
bors added a commit that referenced this pull request Jul 31, 2025
Rollup of 4 pull requests

Successful merges:

 - #136840 (Fix linker-plugin-lto only doing thin lto)
 - #144053 (Remove install Rust script from CI)
 - #144297 (Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in rustdoc)
 - #144721 (`std_detect`: Linux 6.16 support for RISC-V)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit febd8cd into rust-lang:master Jul 31, 2025
10 checks passed
@rustbot rustbot added this to the 1.90.0 milestone Jul 31, 2025
rust-timer added a commit that referenced this pull request Jul 31, 2025
Rollup merge of #144297 - GuillaumeGomez:ERROR_EXIT_CODE, r=Amanieu

Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in rustdoc

I think it's better to make this constant public so it can be used by crates using `libtest` as dependency.

As a side-note, I will update #143900 to make use of this constant once this is current PR is merged.
@GuillaumeGomez GuillaumeGomez deleted the ERROR_EXIT_CODE branch July 31, 2025 15:13
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Aug 2, 2025
…Amanieu

Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in rustdoc

I think it's better to make this constant public so it can be used by crates using `libtest` as dependency.

As a side-note, I will update rust-lang#143900 to make use of this constant once this is current PR is merged.
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 9, 2025
…p, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang#144297.
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 9, 2025
…p, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang#144297.
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 10, 2025
…p, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang#144297.
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 10, 2025
…p, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang#144297.
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 10, 2025
…p, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang#144297.
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 10, 2025
…p, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang#144297.
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 10, 2025
…p, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang#144297.
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 10, 2025
…p, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang#144297.
Zalathar added a commit to Zalathar/rust that referenced this pull request Aug 10, 2025
…p, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of rust-lang#144297.
rust-timer added a commit that referenced this pull request Aug 10, 2025
Rollup merge of #144739 - GuillaumeGomez:rustdoc-test-cleanup, r=fmease

Use new public libtest `ERROR_EXIT_CODE` constant in rustdoc

Followup of #144297.
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. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants