Skip to content

Enhance EII UI tests - #160927

Open
AsakuraMizu wants to merge 2 commits into
rust-lang:mainfrom
AsakuraMizu:eii-tests
Open

Enhance EII UI tests#160927
AsakuraMizu wants to merge 2 commits into
rust-lang:mainfrom
AsakuraMizu:eii-tests

Conversation

@AsakuraMizu

Copy link
Copy Markdown
Contributor

Tracking issue: #125418

LLM disclosure

The first commit was written without LLM assistance.

The second commit was LLM-assisted. I found the issue, designed the overall change and let coding agent do the repetitive updates across the test files.

Description

The first commit enabled all EII tests on Windows MSVC. Two other PRs were merged almost simultaneously with my previous PR and they kept ignore-windows instead of ignore-windows-gnu.

The second commit normalized EII dylib test coverage. Previously, there were only two dedicated negative tests and some auxiliary crates that had no-prefer-dynamic removed but whose crate_type was still rlib were accidentally compiled into dylibs and thus were tested unintentionally.

This is now normalized: some tests will be tested under two revisions: rlib and dylib or dylib-impl (declaration in rlib & implementation in dylib).

Note that call_default_panics.run.stderr is not updated; the file appears to be invalid, and I am unsure how to update this check.

@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 Aug 11, 2026
@rustbot

rustbot commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

r? @davidtwco

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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 75 candidates
  • Random selection from 18 candidates

@AsakuraMizu

Copy link
Copy Markdown
Contributor Author

@rustbot label +F-extern_item_impls

@rustbot rustbot added the F-extern_item_impls `#![feature(extern_item_impls)]` label Aug 11, 2026
@@ -1,4 +1,5 @@
//@ no-prefer-dynamic
//@[dylib] compile-flags: --crate-type=dylib -Cprefer-dynamic
#![crate_type = "rlib"]

@bjorn3 bjorn3 Aug 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I believe this and a couple other tests are missing a //@ revisions. In addition I'm not sure if --crate-type or #![crate_type] would win. Pleasw don't use the at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

F-extern_item_impls `#![feature(extern_item_impls)]` 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants