Guillaume Gomez
e4abfaeb62
Migrate run-make/compile-stdin
to rmake.rs
2024-05-27 11:37:27 +02:00
Guillaume Gomez
daff84372d
Migrate run-make/rustdoc-with-output-dir-option
to rmake.rs
2024-05-24 11:19:30 +02:00
Guillaume Gomez
0de052acd8
Rollup merge of #125445 - GuillaumeGomez:rustdoc-migrate-short-out-dir, r=jieyouxu
...
Migrate `run-make/rustdoc-with-short-out-dir-option` to `rmake.rs`
Part of https://github.com/rust-lang/rust/issues/121876 .
r? `@jieyouxu`
2024-05-23 23:39:28 +02:00
León Orell Valerian Liehr
72cc4de660
Rollup merge of #125401 - GuillaumeGomez:migrate-rustdoc-scrape-examples-macros, r=jieyouxu
...
Migrate `run-make/rustdoc-scrape-examples-macros` to `rmake.rs`
Part of https://github.com/rust-lang/rust/issues/121876 .
r? `````@jieyouxu`````
2024-05-23 20:09:10 +02:00
León Orell Valerian Liehr
d392d6849c
Rollup merge of #125227 - Oneirical:seventh, r=jieyouxu
...
Migrate `run-make/issue-30063` to `rmake`
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
(Sorry about the [inconvenience](https://github.com/rust-lang/rust/pull/125224#issuecomment-2118340932 ) of all these PRs, this is the last one batched for today. I will discuss how we can cut these down a bit.)
The last check was previously commented out in the Makefile, and I have readded it. If it fails the CI, this can be reconsidered.
2024-05-23 20:09:09 +02:00
León Orell Valerian Liehr
e282b1f753
Rollup merge of #125224 - Oneirical:sixth, r=jieyouxu
...
Migrate `run-make/issue-53964` to `rmake`
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
This is extremely similar to #125146 . Could it be interesting to merge the two in some way? This one seems to do the same thing as the #125146 , but with an added check that a useless lint is not shown.
2024-05-23 20:09:08 +02:00
Matthias Krüger
eb1b9b0048
Rollup merge of #125421 - Oneirical:bundle-them-yet-again, r=jieyouxu
...
Rewrite `core-no-oom-handling`, `issue-24445` and `issue-38237` `run-make` tests to new `rmake.rs` format
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
The test which is now called `non-pie-thread-local` has an unexplained "only-linux" flag. Could it be worth trying to remove it and changing the CI to test non-Linux platforms on it?
2024-05-23 14:09:25 +02:00
Guillaume Gomez
de644626c3
Migrate run-make/rustdoc-with-short-out-dir-option
to rmake.rs
2024-05-23 12:28:51 +02:00
Matthias Krüger
f131ee6561
Rollup merge of #125222 - Oneirical:fifth, r=jieyouxu
...
Migrate `run-make/issue-46239` to `rmake`
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
2024-05-23 07:41:18 +02:00
Oneirical
1f17e27ae3
Rewrite and rename issue-38237
to rmake
2024-05-22 22:49:00 -04:00
Oneirical
ddb81ce680
rewrite and rename issue-46239
2024-05-22 22:43:21 -04:00
Oneirical
dd7e68b356
rewrite and rename issue-53964
2024-05-22 16:30:42 -04:00
Oneirical
f377ea165f
rewrite issue-30063
2024-05-22 16:25:36 -04:00
Oneirical
d4e5426256
rewrite and rename issue-24445
to rmake
2024-05-22 15:25:43 -04:00
Oneirical
c24d1c7ff8
Rewrite core-no-oom-handling
as rmake.rs
2024-05-22 14:40:41 -04:00
Guillaume Gomez
fc76015dcb
Migrate run-make/rustdoc-scrape-examples-macros
to rmake.rs
2024-05-22 11:49:21 +02:00
Matthias Krüger
639853fea5
Rollup merge of #125357 - GuillaumeGomez:migrate-rustdoc-scrape-examples-multiple, r=jieyouxu
...
Migrate `run-make/rustdoc-scrape-examples-multiple` to `rmake.rs`
Part of https://github.com/rust-lang/rust/issues/121876 .
r? ```@jieyouxu```
2024-05-21 20:28:49 +02:00
Matthias Krüger
7ef533bce6
Rollup merge of #125218 - Oneirical:easy-test-the-third, r=jieyouxu
...
Migrate `run-make/no-intermediate-extras` to new `rmake.rs`
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
2024-05-21 12:47:05 +02:00
Guillaume Gomez
f8c992f8b4
Migrate run-make/rustdoc-scrape-examples-multiple
to rmake.rs
2024-05-21 12:11:17 +02:00
Oneirical
95c47d3396
simplify
2024-05-20 21:30:48 -04:00
Matthias Krüger
8903de31ca
Rollup merge of #124050 - saethlin:less-sysroot-libc, r=ChrisDenton
...
Remove libc from MSVC targets
``@ChrisDenton`` started working on a project to remove libc from Windows MSVC targets. I'm completing that work here.
The primary change is to cfg out the dependency in `library/`. And then there's a lot of test patching. Happy to separate this more if people want.
2024-05-21 00:47:00 +02:00
Matthias Krüger
1640225b9d
Rollup merge of #125318 - GuillaumeGomez:migrate-rustdoc-examples-whitespaces, r=jieyouxu
...
Migrate `run-make/rustdoc-scrape-examples-whitespace` to `rmake.rs`
Part of https://github.com/rust-lang/rust/issues/121876 .
r? `@jieyouxu`
2024-05-20 18:13:49 +02:00
Matthias Krüger
9987e900c0
Rollup merge of #125173 - scottmcm:never-checked, r=davidtwco
...
Remove `Rvalue::CheckedBinaryOp`
Zulip conversation: <https://rust-lang.zulipchat.com/#narrow/stream/189540-t-compiler.2Fwg-mir-opt/topic/intrinsics.20vs.20binop.2Funop/near/438729996 >
cc `@RalfJung`
While it's a draft,
r? ghost
2024-05-20 18:13:48 +02:00
Ben Kimock
8d3bc55904
Fix up a few more tests
2024-05-20 11:13:10 -04:00
Guillaume Gomez
7b0fd3b931
Migrate run-make/rustdoc-scrape-examples-whitespace
to rmake.rs
2024-05-20 12:09:11 +02:00
Guillaume Gomez
2f8b98c664
Migrate run-make/rustdoc-scrape-examples-test
to new rmake.rs
2024-05-19 15:02:30 +02:00
Guillaume Gomez
14ae96470f
Migrate run-make/rustdoc-scrape-examples-invalid-expr
to rmake.rs
2024-05-18 15:35:00 +02:00
bors
bb97203e37
Auto merge of #124611 - Urgau:rustdoc-stdin, r=GuillaumeGomez
...
Add `-` (stdin) support in rustdoc
This PR adds support for the special `-` input which threats the input as coming from *stdin* instead of being a filepath.
Doing this also makes `rustdoc` consistent with `rustc` and ~~every~~ other tools. Full [motivation](https://github.com/rust-lang/rust/pull/124611#issuecomment-2094234876 ).
Fixes https://github.com/rust-lang/rust/issues/123671
r? `@fmease`
2024-05-18 10:53:47 +00:00
Scott McMurray
95c0e5c6a8
Remove Rvalue::CheckedBinaryOp
2024-05-17 20:33:02 -07:00
许杰友 Jieyou Xu (Joe)
650bbb5a77
Rollup merge of #125221 - Oneirical:fourth, r=jieyouxu
...
Migrate `run-make/issue-28766` to `rmake`
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
2024-05-18 00:49:18 +01:00
许杰友 Jieyou Xu (Joe)
d7498c2dbf
Rollup merge of #125215 - Oneirical:easy-test-the-second, r=jieyouxu
...
Migrate `run-make/issue64319` to `rmake` and rename
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
~~I noticed that the Makefile was not listed in `allowed-run-makefiles` in Tidy. Does this mean the test was being ignored?~~ EDIT: No, it was there, just not in its expected alphabetical order.
EDIT2: Perhaps it could be interesting to clean this test visually by looping over the `rustc` calls, like in #125227 .
2024-05-18 00:49:17 +01:00
许杰友 Jieyou Xu (Joe)
cb90c0a1d3
Rollup merge of #125213 - Oneirical:easy-test, r=jieyouxu
...
Migrate `run-make/static-unwinding` to `rmake`
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
An easy one after the last one, though the explanatory comment could use some clarification.
2024-05-18 00:49:17 +01:00
Oneirical
8c43e54ad9
fix: swap the error codes
2024-05-17 15:42:33 -04:00
Julien
9d0b75f75e
missing import
2024-05-17 14:55:14 -04:00
Oneirical
e9edced096
rewrite and rename issue-28766
2024-05-17 14:44:21 -04:00
Oneirical
abdaed2fa9
tidy fix
2024-05-17 14:06:38 -04:00
Oneirical
f0b8da4430
rewrite no-intermediate-extras
2024-05-17 13:29:43 -04:00
Oneirical
14a031fdf6
rewrite issue64319 and rename
2024-05-17 11:49:20 -04:00
Oneirical
760b505c9a
Rewrite static-unwinding as rmake.rs
2024-05-17 11:06:21 -04:00
Guillaume Gomez
272fc89a1c
Use common scrape.rs
file
2024-05-17 14:04:22 +02:00
Guillaume Gomez
e509c24fbf
Migrate run-make/rustdoc-scrape-examples-remap
to rmake.rs
2024-05-17 14:04:22 +02:00
bors
a5c37eea5a
Auto merge of #125178 - GuillaumeGomez:migrate-rustdoc-with-out-dir, r=jieyouxu
...
Migrate `run-make/rustdoc-with-out-dir-option` to new `rmake.rs`
Part of https://github.com/rust-lang/rust/issues/121876 .
r? `@jieyouxu`
2024-05-17 08:51:06 +00:00
Guillaume Gomez
d594c9ceea
Add missing assert! calls
2024-05-17 00:47:18 +02:00
Guillaume Gomez
8124a5e74d
Migrate run-make/rustdoc-with-out-dir-option
to new rmake.rs
2024-05-17 00:46:21 +02:00
Rémy Rakic
4d280de47c
test rust-lld is on by default on the x64 linux target
2024-05-16 16:08:07 +00:00
León Orell Valerian Liehr
09156291e5
Rollup merge of #125146 - Oneirical:panic-impl, r=jieyouxu
...
Migrate `run-make/panic-impl-transitive` to `rmake`
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
The test itself is quite simple, but the "handle panics by entering infinite loop" part is strange.
2024-05-15 22:01:19 +02:00
León Orell Valerian Liehr
80f991e09b
Rollup merge of #125142 - GuillaumeGomez:migrate-rustdoc-themes, r=jieyouxu
...
Migrate `run-make/rustdoc-themes` to new rmake.rs
Part of https://github.com/rust-lang/rust/issues/121876 .
r? `@jieyouxu`
2024-05-15 22:01:19 +02:00
Oneirical
a7484d2e49
fix tidy
2024-05-15 10:09:19 -04:00
Oneirical
cae17ff42b
rewrite panic-impl-transitive
2024-05-15 09:58:47 -04:00
León Orell Valerian Liehr
2659ff3882
Rollup merge of #125104 - Oneirical:test6, r=jieyouxu
...
Migrate `run-make/no-cdylib-as-rdylib` to `rmake`
Part of #121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html ).
> "the test will fail if the cdylib is picked, because it doesn't export any rust symbols"
Is that true? Is there a way to verify?
I suggest maybe extending the test with: (after cleaning the directory)
```rust
rustc()
.input("bar.rs")
.crate_type("cdylib")
.run();
rustc()
.input("foo.rs")
.prefer_dynamic()
.run();
fail();
```
to make sure we're actually testing something here.
2024-05-15 14:21:39 +02:00