-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite suspicious-library
, resolve-rename
and incr-prev-body-beyond-eof
run-make
tests in rmake.rs
format
#125683
Conversation
This comment has been minimized.
This comment has been minimized.
f84464a
to
5beff79
Compare
This comment has been minimized.
This comment has been minimized.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
cd21022
to
a24ac15
Compare
Changes made, keeping things as minimal as possible ( |
a24ac15
to
72683f6
Compare
I think that you might have meant |
I derailed this PR by writing |
This comment has been minimized.
This comment has been minimized.
72683f6
to
51d1593
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some questions for the beyond-eof test
51d1593
to
db07d8b
Compare
This comment has been minimized.
This comment has been minimized.
(Added |
a9f8f7d
to
9bfd028
Compare
Looked 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
59e2074
Compare
@bors try |
…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
☀️ Try build successful - checks-actions |
@rustbot review Seems to be working, let me know if removing --target was unwise. |
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 |
Good work! @bors r+ rollup |
🌲 The tree is currently closed for pull requests below priority 101. This pull request will be tested once the tree is reopened. |
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