Uh oh!
There was an error while loading. Please reload this page.
Rewrite suspicious-library, resolve-rename and incr-prev-body-beyond-eofrun-make tests in rmake.rs format - #125683
Conversation
rustbot
commented
May 28, 2024
rustbot
commented
May 28, 2024
This comment has been minimized.
This comment has been minimized.
f84464a to
5beff79Compare
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jieyouxu
commented
May 28, 2024
@rustbot author |
| .run(); | ||
| fs::copy("b.rs", tmp_dir().join("main.rs")); | ||
| rustc() | ||
| .incremental(tmp_dir().join("incr")) |
There was a problem hiding this comment.
The tmp_dir().join(...) pattern seems to be repeating quite often. It could be worth it to introduce something like fn tmp_path(path: &str) to simplify it, it's a bit hard to read.
There was a problem hiding this comment.
I think we should add a helper, but in a separate PR (unrelated changes), I think it's fine for this PR to keep the join for now, I'll send another PR, so this PR can either rebase on top of that or I'll update the other PR to cover join in this PR too.
Uh oh!
There was an error while loading. Please reload this page.
cd21022 to
a24ac15CompareChanges made, keeping things as minimal as possible ( |
a24ac15 to
72683f6CompareKobzol
commented
May 29, 2024
I think that you might have meant |
jieyouxu
commented
May 29, 2024
I derailed this PR by writing |
This comment has been minimized.
This comment has been minimized.
72683f6 to
51d1593Compare
jieyouxu
left a comment
There was a problem hiding this comment.
I have some questions for the beyond-eof test
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
51d1593 to
db07d8bCompare
This comment has been minimized.
This comment has been minimized.
Kobzol
commented
Jun 1, 2024
(Added |
a9f8f7d to
9bfd028CompareLooked up some past instances of this error, and found #28924. The issue seems to be related to using the incorrect linker for the As an experiment, I removed the If that's not acceptable, it might be interesting to add a conditional check to set the appropriate linker for each failing architecture. Running a try job once CI is green. |
This comment has been minimized.
This comment has been minimized.
9bfd028 to
59e2074CompareOneirical
commented
Jun 4, 2024
@bors try |
bors
commented
Jun 4, 2024
…try> Rewrite `suspicious-library`, `resolve-rename` and `incr-prev-body-beyond-eof` `run-make` tests in `rmake.rs` format Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). Some oddly specific ignore flags in `incr-prev-body-beyond-eof`: ```rs // ignore-none // ignore-nvptx64-nvidia-cuda ``` it could be interesting to run a try job, but it seems there is no nvidia-cuda in the CI settings (`jobs.yml`). try-job: armhf-gnu
bors
commented
Jun 4, 2024
☀️ Try build successful - checks-actions |
Oneirical
commented
Jun 5, 2024
@rustbot review Seems to be working, let me know if removing --target was unwise. |
jieyouxu
commented
Jun 5, 2024
It would matter if the test artifacts are being cross-compiled and ran on a different target. For the purposes of this test, I think we could add a |
jieyouxu
commented
Jun 5, 2024
Good work! @bors r+ rollup |
bors
commented
Jun 5, 2024
bors
commented
Jun 5, 2024
🌲 The tree is currently closed for pull requests below priority 101. This pull request will be tested once the tree is reopened. |
workingjubilee
commented
Jun 5, 2024
mmmm gonna have to disagree here |
…kingjubilee Rollup of 12 pull requests Successful merges: - rust-lang#123168 (Add `size_of` and `size_of_val` and `align_of` and `align_of_val` to the prelude) - rust-lang#125273 (bootstrap: implement new feature `bootstrap-self-test`) - rust-lang#125683 (Rewrite `suspicious-library`, `resolve-rename` and `incr-prev-body-beyond-eof` `run-make` tests in `rmake.rs` format) - rust-lang#125815 (`rustc_parse` top-level cleanups) - rust-lang#125903 (rustc_span: Inline some hot functions) - rust-lang#125906 (Remove a bunch of redundant args from `report_method_error`) - rust-lang#125920 (Allow static mut definitions with #[linkage]) - rust-lang#125982 (Make deleting on LinkedList aware of the allocator) - rust-lang#125995 (Use inline const blocks to create arrays of `MaybeUninit`.) - rust-lang#125996 (Closures are recursively reachable) - rust-lang#126003 (Add a co-maintainer for the two ARMv4T targets) - rust-lang#126004 (Add another test for hidden types capturing lifetimes that outlive but arent mentioned in substs) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#125683 - Oneirical:patience-testing-test, r=jieyouxu Rewrite `suspicious-library`, `resolve-rename` and `incr-prev-body-beyond-eof` `run-make` tests in `rmake.rs` format Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). Some oddly specific ignore flags in `incr-prev-body-beyond-eof`: ```rs // ignore-none // ignore-nvptx64-nvidia-cuda ``` it could be interesting to run a try job, but it seems there is no nvidia-cuda in the CI settings (`jobs.yml`). try-job: armhf-gnu
Part of #121876 and the associated Google Summer of Code project.
Some oddly specific ignore flags in
incr-prev-body-beyond-eof:it could be interesting to run a try job, but it seems there is no nvidia-cuda in the CI settings (
jobs.yml).try-job: armhf-gnu