Commit Graph

906 Commits

Author SHA1 Message Date
bors
70591dc15d Auto merge of #127060 - Oneirical:testificate, r=jieyouxu
Migrate `symbol-visibility` `run-make` test 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).

Pretty scary!

- The expected number of symbols on each check has been changed slightly to reflect the differences between `llvm_readobj` and `nm`, as I think the former will print hidden symbols once and visible symbols twice, while the latter will only print visible symbols.
- The original test ran the same exact checks on `cdylib` twice, for seemingly no reason. I have removed it.
- This may be possible to optimize some more? `llvm_readobj` could get called only once for each library type, and the regex could avoid being created repeatedly. I am not sure if these kinds of considerations are important for a `run-make` test.

Demands a Windows try-job.

try-job: x86_64-mingw
2024-08-01 05:42:09 +00:00
Oneirical
ea04b0afbf use llvm-nm in symbol-visibility rmake test 2024-07-31 10:39:16 -04:00
bors
83dcdb3a5d Auto merge of #128075 - Oneirical:try-your-damnetest, r=jieyouxu
Migrate `rlib-format-packed-bundled-libs-2`, `native-link-modifier-whole-archive` and `no-builtins-attribute` `run-make` tests 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).

Please try:

try-job: x86_64-msvc
try-job: test-various
try-job: armhf-gnu
try-job: aarch64-apple
try-job: x86_64-gnu-llvm-18
2024-07-31 00:36:46 +00:00
Oneirical
dcaa17a661 invalid stdout_utf8 handling in run_make_support 2024-07-30 13:07:54 -04:00
Oneirical
689bb118ce rewrite symbol-visibility to rmake 2024-07-30 13:07:54 -04:00
Oneirical
23cccb3fc6 rewrite raw-dylib-stdcall-ordinal to rmake 2024-07-29 10:58:28 -04:00
Oneirical
9ffe161ce8 rewrite raw-dylib-link-ordinal to rmake 2024-07-29 10:58:28 -04:00
Oneirical
8c09a7f11e rewrite raw-dylib-import-name-type to rmake 2024-07-29 10:58:28 -04:00
Oneirical
0c8f194737 rewrite share-generics-dylib to rmake 2024-07-29 10:58:27 -04:00
Nicholas Nethercote
84ac80f192 Reformat use declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
bors
3148b35f6a Auto merge of #128079 - Oneirical:testiges-of-civilization, r=jieyouxu
Migrate `static-dylib-by-default`, `sanitizer-dylib-link`, `sanitizer-cdylib-link` and `sanitizer-staticlib-link` `run-make` tests 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).

Please try:

try-job: x86_64-msvc
try-job: armhf-gnu
try-job: test-various
try-job: i686-msvc
try-job: x86_64-mingw
try-job: x86_64-gnu-llvm-18
2024-07-28 04:16:12 +00:00
Oneirical
1a15d90121 assert_stdout_contains_regex in run_make_support + variations 2024-07-26 15:20:01 -04:00
Oneirical
d5c073eb09 rewrite no-builtins-attribute to rmake 2024-07-26 12:07:33 -04:00
Oneirical
c8f049cd80 rewrite native-link-modifier-whole-archive to rmake 2024-07-26 12:07:17 -04:00
Oneirical
4f7f60b927 rewrite rlib-format-packed-bundled-libs-2 to rmake 2024-07-26 12:06:37 -04:00
Oneirical
62fb491028 rewrite sanitizer-staticlib-link to rmake 2024-07-26 11:45:19 -04:00
Oneirical
3cc1056ff7 rewrite export-executable-symbols to rmake 2024-07-26 10:17:39 -04:00
Oneirical
2a3e4c547b rewrite foreign-rust-exceptions to rmake 2024-07-26 10:17:04 -04:00
Oneirical
e2dbba8d4d rewrite c-unwind-abi-catch-lib-panic to rmake 2024-07-26 10:17:03 -04:00
Trevor Gross
0f1ea63393
Rollup merge of #128099 - lolbinarycat:extern-flag-disambiguates-rmake, r=Kobzol
migrate tests/run-make/extern-flag-disambiguates to rmake
2024-07-26 02:20:31 -04:00
Trevor Gross
4290de8ab4
Rollup merge of #127989 - Oneirical:testricted-area, r=jieyouxu
Migrate `interdependent-c-libraries`, `compiler-rt-works-on-mingw` and `incr-foreign-head-span` `run-make` tests 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).

try-job: aarch64-apple
try-job: armhf-gnu
try-job: test-various
try-job: x86_64-mingw
try-job: x86_64-msvc
try-job: x86_64-gnu-llvm-18
2024-07-26 02:20:30 -04:00
binarycat
62dff66a6c use shorter link and remove entries wrongly added in rebase 2024-07-25 12:20:04 -04:00
binarycat
7638889f41 clean up rmake test 2024-07-25 12:19:12 -04:00
binarycat
20c67131c6 note that rmake.rs files are not subject to automatic formatting 2024-07-25 12:18:24 -04:00
binarycat
bade1428ee migrate tests/run-make/extern-flag-disambiguates to rmake 2024-07-25 12:18:23 -04:00
Oneirical
f72bf8ba34 rewrite panic-abort-eh_frame to rmake 2024-07-25 11:17:34 -04:00
Oneirical
0d52289b5e rewrite dump-ice-to-disk to rmake 2024-07-25 11:17:24 -04:00
Oneirical
e175b83fd5 rewrite incr-foreign-head-span to rmake 2024-07-25 11:08:07 -04:00
Oneirical
c424bc61bf rewrite compiler-rt-works-on-mingw to rmake 2024-07-25 11:07:53 -04:00
Oneirical
4dad2a332b rewrite interdependent-c-libraries to rmake 2024-07-25 11:07:06 -04:00
bors
54be9ad5eb Auto merge of #128102 - Oneirical:real-testate, r=Kobzol
Migrate `extern-diff-internal-name`, `extern-multiple-copies` and `extern-multiple-copies2` `run-make` tests 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).

Please try:

try-job: test-various
2024-07-25 12:09:24 +00:00
Matthias Krüger
04e4569ffd
Rollup merge of #127872 - Oneirical:antestral-traditions, r=jieyouxu
Migrate `pointer-auth-link-with-c`, `c-dynamic-rlib` and `c-dynamic-dylib` `run-make` tests 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).

Please try:

try-job: x86_64-msvc
try-job: i686-mingw
try-job: aarch64-apple
2024-07-25 04:43:19 +02:00
Oneirical
421619da48 rewrite extern-multiple-copies2 to rmake 2024-07-23 15:08:40 -04:00
Matthias Krüger
f34237f443
Rollup merge of #127990 - Oneirical:ii-the-high-priestest, r=jieyouxu
Migrate `lto-linkage-used-attr`, `no-duplicate-libs` and `pgo-gen-no-imp-symbols` `run-make` tests 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).

try-job: x86_64-msvc
try-job: aarch64-apple
try-job: armhf-gnu
try-job: test-various
try-job: x86_64-gnu-llvm-18
2024-07-23 19:42:36 +02:00
Matthias Krüger
f1a29ee226
Rollup merge of #126898 - GuillaumeGomez:migrate-run-make-link-framework, r=Kobzol
Migrate `run-make/link-framework` to `rmake.rs`

Part of https://github.com/rust-lang/rust/issues/121876.

r? ``@Kobzol``

try-job: x86_64-apple-1
2024-07-23 19:42:35 +02:00
Matthias Krüger
9d4daf8869
Rollup merge of #125886 - GuillaumeGomez:migrate-run-make-issue-15460, r=jieyouxu
Migrate run make issue 15460

Part of https://github.com/rust-lang/rust/issues/121876.

r? `@jieyouxu`

try-job: x86_64-msvc
try-job: aarch64-apple
try-job: x86_64-gnu-llvm-18
2024-07-23 19:42:34 +02:00
Oneirical
4332f5d81a rewrite extern-multiple-copies to rmake 2024-07-23 11:54:10 -04:00
Oneirical
da692ee0ea rewrite extern-diff-internal-name to rmake 2024-07-23 11:24:05 -04:00
Oneirical
710e7b0c75 rewrite c-dynamic-dylib to rmake 2024-07-23 10:31:21 -04:00
Oneirical
d22425606e rewrite sanitizer-cdylib-link to rmake 2024-07-23 10:26:35 -04:00
Oneirical
fe3fbf0ab4 rewrite sanitizer-dylib-link to rmake 2024-07-23 10:26:35 -04:00
Oneirical
952d916840 rewrite static-dylib-by-default to rmake 2024-07-23 10:26:32 -04:00
Guillaume Gomez
3de52521ae Rename tests/run-make/issue-15460 into tests/run-make/link-native-static-lib-to-dylib 2024-07-23 11:47:11 +02:00
Guillaume Gomez
5257ca7f4f Migrate run-make/issue-15460 to rmake.rs 2024-07-23 11:47:11 +02:00
bors
8ded134198 Auto merge of #127778 - Oneirical:artificial-intestlligence, r=jieyouxu
Migrate `staticlib-blank-lib`, `rlib-format-packed-bundled-libs-3` and `issue-97463-abi-param-passing` `run-make` tests 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).

Please try:

try-job: aarch64-gnu
try-job: armhf-gnu
try-job: test-various
try-job: x86_64-mingw
try-job: x86_64-msvc
try-job: x86_64-gnu-llvm-18
2024-07-23 01:51:57 +00:00
Guillaume Gomez
e8e6111f86 Migrate run-make/link-framework to rmake.rs 2024-07-22 23:21:59 +02:00
Oneirical
6d9d605fca rewrite pgo-gen-no-imp-symbols to rmake 2024-07-22 13:25:39 -04:00
Oneirical
55dda5d862 rewrite and rename issue-97463-abi-param-passing to rmake 2024-07-22 13:05:07 -04:00
Oneirical
63286d80a1 rewrite c-dynamic-rlib to rmake 2024-07-22 11:15:09 -04:00
Oneirical
ef07fe1b28 rewrite pointer-auth-link-with-c to rmake 2024-07-22 11:14:34 -04:00