Skip to content

ignore tests with the GCC backend if we can't find libgccjit.so for the target - #160715

Open
folkertdev wants to merge 2 commits into
rust-lang:mainfrom
folkertdev:gcc-ignore-unsupported-targets
Open

ignore tests with the GCC backend if we can't find libgccjit.so for the target#160715
folkertdev wants to merge 2 commits into
rust-lang:mainfrom
folkertdev:gcc-ignore-unsupported-targets

Conversation

@folkertdev

Copy link
Copy Markdown
Contributor
  • I did not use an LLM to create a change in this PR.
  • I used an LLM to create a change in this PR, and I have explained below how it was used.

Much like we ignore tests on targets that don't support certain properties, ignore a test or revision when the target is not supported by GCC, and GCC is the default codegen backend.

With this change we can remove many //@ ignore-backends: gcc (which I've left for later).

See also the conversation at #rustc-codegen-gcc > tidy error on building test with GCC on unsupported target.

r? jieyouxu
cc @GuillaumeGomez @antoyo

@rustbot

rustbot commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred in src/tools/compiletest

cc @jieyouxu

@rustbot rustbot added A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc labels Aug 7, 2026
@rustbot

rustbot commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

jieyouxu is currently at their maximum review capacity.
They may take a while to respond.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 7, 2026
@folkertdev folkertdev changed the title Gcc ignore unsupported targets ignore tests with the GCC backend if we can't find libgccjit.so for it Aug 7, 2026
@folkertdev folkertdev changed the title ignore tests with the GCC backend if we can't find libgccjit.so for it ignore tests with the GCC backend if we can't find libgccjit.so for the target Aug 7, 2026
@GuillaumeGomez

Copy link
Copy Markdown
Member

Thanks for doing it! It allows to remove some ignore-backends: gcc instructions, so that makes me very happy. :)

@rust-bors

rust-bors Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

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

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

Labels

A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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