Skip to content

Conversation

@saethlin
Copy link
Member

@saethlin saethlin commented Nov 15, 2025

wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.

@rustbot rustbot added A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Nov 15, 2025
@saethlin saethlin linked an issue Nov 15, 2025 that may be closed by this pull request
@rust-log-analyzer

This comment has been minimized.

@saethlin
Copy link
Member Author

r? Kobzol

@saethlin saethlin marked this pull request as ready for review November 15, 2025 18:02
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 15, 2025
@Kobzol
Copy link
Member

Kobzol commented Nov 16, 2025

Could you please just add a comment on top of it to explain why we included this specific test invocation? The Dockerfiles are filled with random x commands and it's not always obvious why are they there. In this case the motivation is to run 32-bit target codegen tests (on PR CI).

You can r=me after.

@saethlin
Copy link
Member Author

@bors r=kobzol

@bors
Copy link
Collaborator

bors commented Nov 16, 2025

📌 Commit 64f0579 has been approved by kobzol

It is now in the queue for this repository.

@bors bors 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 Nov 16, 2025
jhpratt added a commit to jhpratt/rust that referenced this pull request Nov 17, 2025
Run codegen tests on a 32-bit target in PR CI

wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.
Zalathar added a commit to Zalathar/rust that referenced this pull request Nov 17, 2025
Run codegen tests on a 32-bit target in PR CI

wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.
Comment on lines +37 to +40
# Elsewhere, we run all tests for the host. A number of codegen tests are sensitive to the target pointer
# width, for example because they mention a usize. wasm32-wasip1 in test-various, so using it here can't make
# PR CI more strict than full CI.
python3 ../x.py test --stage 1 tests/codegen-llvm --target wasm32-wasip1 && \
Copy link
Member

Choose a reason for hiding this comment

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

Remark: IIRC, full CI is a proper superset of PR CI nowadays, so being more strict in PR CI is no longer a major concern.

(But it's still good to know that this is intended to be a subset of checks that run elsewhere in full CI.) 👍

Copy link
Member

Choose a reason for hiding this comment

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

Yes, unless one writes a separate GHA workflow, citool enforces an invariant that PR CI is subset of Merge CI (modulo some carve-out differences).

bors added a commit that referenced this pull request Nov 17, 2025
Rollup of 6 pull requests

Successful merges:

 - #147760 ([Debugger Visualizers] Unify `*-gnu` and `*-msvc` enum output)
 - #148505 (add larger test for `proc_macro` `FromStr` implementations)
 - #148855 (Error if an autodiff user does not set lto=fat)
 - #148958 (Run codegen tests on a 32-bit target in PR CI)
 - #149004 (compiletest: Avoid race condition in file deletion)
 - #149008 (triagebot: remove jsha from notifications for rustdoc HTML)

r? `@ghost`
`@rustbot` modify labels: rollup
Zalathar added a commit to Zalathar/rust that referenced this pull request Nov 17, 2025
Run codegen tests on a 32-bit target in PR CI

wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.
bors added a commit that referenced this pull request Nov 17, 2025
Rollup of 11 pull requests

Successful merges:

 - #148505 (add larger test for `proc_macro` `FromStr` implementations)
 - #148752 (Constify `ManuallyDrop::take`)
 - #148757 (Constify `mem::take`)
 - #148855 (Error if an autodiff user does not set lto=fat)
 - #148912 (add note to `lines` docs about empty str behavior)
 - #148958 (Run codegen tests on a 32-bit target in PR CI)
 - #148994 (Abi compatibility test cleanup)
 - #148999 (Tweak Motor OS linker preset, fix `remote-test-server` for Motor OS)
 - #149004 (compiletest: Avoid race condition in file deletion)
 - #149008 (triagebot: remove jsha from notifications for rustdoc HTML)
 - #149010 (compiletest: Remove the "wasm32-bare" alias for `wasm32-unknown-unknown`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 08093e7 into rust-lang:main Nov 17, 2025
11 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Nov 17, 2025
rust-timer added a commit that referenced this pull request Nov 17, 2025
Rollup merge of #148958 - saethlin:32bit-codegen-pr, r=kobzol

Run codegen tests on a 32-bit target in PR CI

wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run 32-bit codegen tests in PR CI?

7 participants