No way to disable tests for `*-windows-gnu` but keep them enabled for `*-windows-gnullvm`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
If I write:
//@ only-windows
//@ ignore-windows-gnu // or just ignore-gnu
Then gnullvm will be also excluded. There are few things (like CFGuad) that will probably never work with mingw-w64+GNU targets but are supported on mingw-w64+LLVM (not yet within Rust).
Using //@ only-windows-gnullvm won't be an option because it would disable the test for *-windows-msvc.
One idea I can think of is to add $ character that means end of the line, just like in regex. So //@ ignore-windows-gnu$ would skip all *-windows-gnu targets from the given test but keep *-windows-gnullvm targets.
Originally posted by @mati865 in #128602
cc @jieyouxu
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how only-windows and ignore-windows-gnu directives match target triples, then inspect the existing test-directive handling and related tests. Done means tests can be excluded for *-windows-gnu while remaining enabled for *-windows-gnullvm and *-windows-msvc, without changing current matching behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100