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
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
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
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
León Orell Valerian Liehr
2804d4223b
Rollup merge of #125027 - Oneirical:c-test-with-remove, r=jieyouxu
...
Migrate `run-make/c-link-to-rust-staticlib` to `rmake`
Part of #121876 .
r? `@jieyouxu`
2024-05-15 14:21:38 +02:00
Guillaume Gomez
c765480efe
Migrate run-make/rustdoc-themes
to new rmake
2024-05-15 12:22:40 +02:00
Guillaume Gomez
c87ae947eb
Add new htmldocck
function to run-make-support
2024-05-15 11:46:04 +02:00
Oneirical
91a3f04a3f
fix the test
2024-05-14 20:06:23 -04:00
Oneirical
81f7e54962
Port issue-11908 to rmake
2024-05-14 18:15:37 -04:00
Oneirical
1f61cc3078
port no-cdylib-as-rdylib test
2024-05-14 17:02:20 -04:00
Julien
b1e5e5161a
remove cxx_flags
2024-05-14 16:43:39 -04:00
Oneirical
1f5837ae25
rewrite c-link-to-rust-staticlib
2024-05-14 16:37:00 -04:00
Michael Goulet
31016d5879
Rollup merge of #125118 - GuillaumeGomez:cleanup-run-make, r=jieyouxu
...
Use new utility functions/methods in run-make tests
Little cleanup using new functions/methods I added into the `run-make-support` library.
r? `@jieyouxu`
2024-05-14 09:55:30 -04:00
Michael Goulet
844c7e826e
Rollup merge of #125047 - Oneirical:test5, r=jieyouxu
...
Migrate `run-make/issue-14500` 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 ).
Note: I find suspicious that `libbar.a` is hardcoded and is not using the `STATICLIB` call to adapt to Windows platforms. Is this intentional? If not, this will need to be changed.
2024-05-14 09:55:28 -04:00