Skip to content

disable the ptr_fragment_in_final test on s390x#153177

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
fneddy:s390x_fix_test_ptr_fragments_final
Mar 3, 2026
Merged

disable the ptr_fragment_in_final test on s390x#153177
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
fneddy:s390x_fix_test_ptr_fragments_final

Conversation

@fneddy
Copy link
Contributor

@fneddy fneddy commented Feb 27, 2026

on s390x 128bit types have a smaller alignment then on x861. This leads to the tests falling due to different errors emitted.

As this affects the same infrastructure as #149056 2 lets also for now disable the tests on s390x.

Footnotes

  1. s390x ELF ABI Table 1.1, Page 12 https://github.com/IBM/s390x-abi

  2. https://github.com/rust-lang/rust/pull/149056#issuecomment-3547543222

@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 Feb 27, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 27, 2026

r? @fmease

rustbot has assigned @fmease.
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 68 candidates
  • Random selection from 15 candidates

@rustbot

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

on s390x 128bit types have a smaller alignment then on x86[^1].
This leads to the tests falling due to different errors emitted.

As this affects the same infrastructure as rust-lang#149056 lets also for now disable the tests on s390x.

[^1]: s390x ELF ABI Table 1.1, Page 12 https://github.com/IBM/s390x-abi
@fneddy fneddy force-pushed the s390x_fix_test_ptr_fragments_final branch from 34ff4e7 to 2e0fdc5 Compare February 27, 2026 15:17
@rustbot
Copy link
Collaborator

rustbot commented Feb 27, 2026

⚠️ Warning ⚠️

  • There are issue links (such as #123) in the commit messages of the following commits.
    Please move them to the PR description, to avoid spamming the issues with references to the commit, and so this bot can automatically canonicalize them to avoid issues with subtree.

Copy link
Member

@fmease fmease left a comment

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

It's unfortunate that you have to disable the test entirely on s390x instead of just fragment_in_padding but I see that that would necessitate a separate compiletest revision just for s390x to be able to make the annotation //~ERROR: partial pointer in final value conditional which seems like overkill. Well.

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 2, 2026

📌 Commit 2e0fdc5 has been approved by fmease

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Mar 2, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Mar 3, 2026
…s_final, r=fmease

disable the ptr_fragment_in_final test on s390x

on s390x 128bit types have a smaller alignment then on x86[^1]. This leads to the tests falling due to different errors emitted.

As this affects the same infrastructure as rust-lang#149056 [^2] lets also for now disable the tests on s390x.

[^1]: s390x ELF ABI Table 1.1, Page 12 https://github.com/IBM/s390x-abi
[^2]: rust-lang#149056 (comment)
rust-bors bot pushed a commit that referenced this pull request Mar 3, 2026
…uwer

Rollup of 12 pull requests

Successful merges:

 - #152941 (prefer actual ABI-controling fields over target.abi when making ABI decisions)
 - #153227 (Don’t report missing fields in struct exprs with syntax errors.)
 - #153265 (Clarified doc comments + added tests confirming current behavior for intersperse/intersperse_with)
 - #152966 (Migrate 11 tests from tests/ui/issues to specific directories)
 - #153003 (rustdoc: make `--emit` and `--out-dir` mimic rustc)
 - #153034 (Remove unhelpful hint from trivial bound errors)
 - #153152 (Migration of LintDiagnostic - part 5)
 - #153177 (disable the ptr_fragment_in_final test on s390x)
 - #153221 (Add release notes for 1.94.0)
 - #153279 (feat: Provide an '.item_kind()' method on ItemEnum)
 - #153297 (Update the name of the Hermit operating system)
 - #153309 (Cleanup of c-variadic link test)
@rust-bors rust-bors bot merged commit bb2b75b into rust-lang:main Mar 3, 2026
11 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Mar 3, 2026
rust-timer added a commit that referenced this pull request Mar 3, 2026
Rollup merge of #153177 - fneddy:s390x_fix_test_ptr_fragments_final, r=fmease

disable the ptr_fragment_in_final test on s390x

on s390x 128bit types have a smaller alignment then on x86[^1]. This leads to the tests falling due to different errors emitted.

As this affects the same infrastructure as #149056 [^2] lets also for now disable the tests on s390x.

[^1]: s390x ELF ABI Table 1.1, Page 12 https://github.com/IBM/s390x-abi
[^2]: #149056 (comment)
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.

4 participants