Skip to content

Conversation

jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented May 5, 2025

Closes #54222.

  • Don't ignore compiler stderr.
  • Document test intent.
  • Move under tests/ui/link-native-libs/ instead.

This was previously discussed on https://web.archive.org/web/20181028094402/https://botbot.me/mozilla/rust-tools/2017-02-21/?page=1.

try-job: armhf-gnu
try-job: test-various
try-job: x86_64-msvc-1
try-job: i686-msvc-1
try-job: x86_64-mingw-1
try-job: aarch64-apple
try-job: x86_64-apple-1

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 5, 2025
@jieyouxu
Copy link
Member Author

jieyouxu commented May 5, 2025

@bors try

bors added a commit to rust-lang-ci/rust that referenced this pull request May 5, 2025
[WIP] Don't ignore compiler stderr in `lib-defaults.rs`

When does this fail?

try-job: armhf-gnu
try-job: test-various
try-job: x86_64-msvc-1
try-job: i686-msvc-1
try-job: x86_64-mingw-1
try-job: aarch64-apple
try-job: x86_64-apple-1
@bors
Copy link
Collaborator

bors commented May 5, 2025

⌛ Trying commit 91c4931 with merge c0d9dd6...

@bors
Copy link
Collaborator

bors commented May 5, 2025

☀️ Try build successful - checks-actions
Build commit: c0d9dd6 (c0d9dd64181e85036ee198375916d83768e0b55b)

@jieyouxu jieyouxu changed the title [WIP] Don't ignore compiler stderr in lib-defaults.rs Don't ignore compiler stderr in lib-defaults.rs May 5, 2025
@jieyouxu jieyouxu marked this pull request as ready for review May 5, 2025 21:58
@rustbot
Copy link
Collaborator

rustbot commented May 5, 2025

r? @petrochenkov

rustbot has assigned @petrochenkov.
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

And also:

- Document test intent.
- Move under `link-native-libs/` instead.
@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented May 6, 2025

📌 Commit cbaa73b has been approved by petrochenkov

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 May 6, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request May 6, 2025
…llaumeGomez

Rollup of 4 pull requests

Successful merges:

 - rust-lang#140135 (Unify sidebar buttons to use the same image)
 - rust-lang#140632 (add a test for issue rust-lang#81317)
 - rust-lang#140658 (`deref_patterns`: let string and byte string literal patterns peel references and smart pointers before matching)
 - rust-lang#140681 (Don't ignore compiler stderr in `lib-defaults.rs`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 9d05497 into rust-lang:master May 6, 2025
6 checks passed
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request May 6, 2025
Rollup merge of rust-lang#140681 - jieyouxu:test_helpers, r=petrochenkov

Don't ignore compiler stderr in `lib-defaults.rs`

Closes rust-lang#54222.

- Don't ignore compiler stderr.
- Document test intent.
- Move under `tests/ui/link-native-libs/` instead.

This was previously discussed on https://web.archive.org/web/20181028094402/https://botbot.me/mozilla/rust-tools/2017-02-21/?page=1.

try-job: armhf-gnu
try-job: test-various
try-job: x86_64-msvc-1
try-job: i686-msvc-1
try-job: x86_64-mingw-1
try-job: aarch64-apple
try-job: x86_64-apple-1
@rustbot rustbot added this to the 1.88.0 milestone May 6, 2025
@jieyouxu jieyouxu deleted the test_helpers branch May 6, 2025 17:17
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-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

run-pass/lib-defaults.rs warns of redundant linker flag
4 participants