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
Open
ignore tests with the GCC backend if we can't find libgccjit.so for the target#160715folkertdev wants to merge 2 commits into
libgccjit.so for the target#160715folkertdev wants to merge 2 commits into
Conversation
Collaborator
|
Some changes occurred in src/tools/compiletest cc @jieyouxu |
Collaborator
|
|
libgccjit.so for it
2 tasks
libgccjit.so for itlibgccjit.so for the target
GuillaumeGomez
approved these changes
Aug 7, 2026
Member
|
Thanks for doing it! It allows to remove some |
This comment has been minimized.
This comment has been minimized.
jieyouxu
reviewed
Aug 8, 2026
folkertdev
force-pushed
the
gcc-ignore-unsupported-targets
branch
from
August 8, 2026 11:51
4428b79 to
4fcb8ed
Compare
Collaborator
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
jieyouxu
approved these changes
Aug 8, 2026
folkertdev
force-pushed
the
gcc-ignore-unsupported-targets
branch
from
August 8, 2026 12:06
4fcb8ed to
5a5b84a
Compare
Contributor
Author
|
@bors r=jieyouxu |
Contributor
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 8, 2026
…targets, r=jieyouxu ignore tests with the GCC backend if we can't find `libgccjit.so` for the target <!-- homu-ignore:start --> - [x] 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](https://rust-lang.zulipchat.com/#narrow/channel/386786-rustc-codegen-gcc/topic/tidy.20error.20on.20building.20test.20with.20GCC.20on.20unsupported.20target/with/615232618). r? jieyouxu cc @GuillaumeGomez @antoyo
rust-bors Bot
pushed a commit
that referenced
this pull request
Aug 8, 2026
…uwer Rollup of 12 pull requests Successful merges: - #160336 (Move attributes out of rustc_hir) - #160715 (ignore tests with the GCC backend if we can't find `libgccjit.so` for the target) - #157609 (fix: build-std on 32 bit arm with 64 bit time) - #160613 (Add regression test for unsized non-last struct field with overlapping impls) - #160658 (miri: implement more restrictive trivial-ABI checks) - #160704 (sort lint names in lint pass declarations) - #160707 (Add regression test for higher ranked fn pointer impl not general enough) - #160713 (Add regression test for #135287) - #160720 (triagebot: add ubiratan to infra-ci) - #160747 (rustc_errors: remove unused code) - #160751 (Add regression test for incremental borrowck ICE with generic const exprs) - #160753 (rustc_lint: remove unused rustc_attrs feature) Failed merges: - #158835 (rustc_passes: lint unused `#[path]` attributes on inline modules)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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