about summary refs log tree commit diff
path: root/src/tools/run-make-support
AgeCommit message (Collapse)AuthorLines
2024-07-25rewrite compiler-rt-works-on-mingw to rmakeOneirical-1/+22
2024-07-25Rollup merge of #127872 - Oneirical:antestral-traditions, r=jieyouxuMatthias Krüger-4/+50
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-23rewrite c-dynamic-dylib to rmakeOneirical-4/+50
2024-07-23Auto merge of #127778 - Oneirical:artificial-intestlligence, r=jieyouxubors-0/+2
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-22rewrite and rename issue-97463-abi-param-passing to rmakeOneirical-0/+2
2024-07-20Rollup merge of #127964 - jieyouxu:rmake-rustfmt-skip, r=nnethercoteMatthias Krüger-0/+6
run_make_support: skip rustfmt for lib.rs To avoid them getting reordered once https://github.com/rust-lang/rust/pull/125443 goes through. r? ``@nnethercote`` (since you were working on this)
2024-07-19run_make_support: skip rustfmt for lib.rs to preserve use ordering许杰友 Jieyou Xu (Joe)-0/+6
2024-07-19run_make_support: cleanup dll/exe filename calculations许杰友 Jieyou Xu (Joe)-30/+6
2024-07-17Add `llvm_components_contain` to `run-make-support`Jerry Wang-1/+8
2024-07-17run_make_support: use `fs` internally, but `rfs` to tests许杰友 Jieyou Xu (Joe)-21/+30
2024-07-17run_make_support: rename `assert_recursive_eq` to `assert_dirs_are_equal`许杰友 Jieyou Xu (Joe)-3/+3
2024-07-17run_make_support: moved some helpers into `string` module许杰友 Jieyou Xu (Joe)-46/+54
2024-07-17run_make_support: move some helpers from assertion to path许杰友 Jieyou Xu (Joe)-53/+53
2024-07-17run_make_support: coalesce fs helpers into single `fs` module许杰友 Jieyou Xu (Joe)-117/+104
There were *two* `read_dir` helpers, one being a simple `std::fs::read_dir` wrapper, the other has a different callback-based signature. We also rename the callback-based `read_dir` as `read_dir_entries`. Also don't top-level re-export most `fs::*` helpers.
2024-07-17run_make_support: rename `cygpath_windows` to `get_windows_path` and move ↵许杰友 Jieyou Xu (Joe)-42/+45
under `external_deps` as private
2024-07-17run_make_support: rename `env_checked` -> `env`许杰友 Jieyou Xu (Joe)-11/+10
2024-07-17run_make_support: move `build_native_static_lib` under `external_deps`许杰友 Jieyou Xu (Joe)-50/+30
And fix some `ar`-related rebase mishaps.
2024-07-17run_make_support: make `set_host_rpath` private and move into `util`许杰友 Jieyou Xu (Joe)-24/+28
2024-07-17run_make_support: move `handle_failed_output` into `util` module许杰友 Jieyou Xu (Joe)-24/+31
2024-07-17run_make_support: move `assert_recursive_eq` into `assertion_helpers`许杰友 Jieyou Xu (Joe)-27/+28
2024-07-17run_make_support: rename `recursive_diff` to `assert_recursive_eq`许杰友 Jieyou Xu (Joe)-3/+3
2024-07-17run_make_support: move assertions and helpers into own module许杰友 Jieyou Xu (Joe)-134/+150
2024-07-17run_make_support: move `run_in_tmpdir` and `test_while_readonly` to ↵许杰友 Jieyou Xu (Joe)-54/+75
`scoped_run` module
2024-07-17run_make_support: move fs helpers to own module许杰友 Jieyou Xu (Joe)-65/+75
2024-07-17run_make_support: move path-related helpers into own module许杰友 Jieyou Xu (Joe)-34/+75
2024-07-17run_make_support: move artifact name helpers into `artifact_names` module许杰友 Jieyou Xu (Joe)-76/+87
2024-07-17run_make_support: move `ar` into own module许杰友 Jieyou Xu (Joe)-14/+30
2024-07-17run_make_support: cleanup and document some lib.rs reexports许杰友 Jieyou Xu (Joe)-1/+10
2024-07-17run_make_support: move external deps to `external_deps` module许杰友 Jieyou Xu (Joe)-24/+49
2024-07-17run_make_support: move `env_var{,_os}` into `env_checked` module许杰友 Jieyou Xu (Joe)-25/+27
2024-07-17run_make_support: move target checks into `targets` module许杰友 Jieyou Xu (Joe)-36/+59
2024-07-17run_make_support: move `impl_common_helpers` into own `macros` module许杰友 Jieyou Xu (Joe)-122/+125
2024-07-16build_native_static_lib with llvm_ar for run_make_supportOneirical-23/+45
2024-07-16rewrite prune-link-args to rmake formatOneirical-4/+33
2024-07-16rewrite dump-mono-stats to rmake formatOneirical-4/+5
2024-07-16rewrite compiler-lookup-paths to rmakeOneirical-0/+8
2024-07-16run-make-support: update gimli to 0.31.0Mrmaxmeier-1/+1
2024-07-13Auto merge of #127450 - Kobzol:bootstrap-cmd-refactor-5, r=onur-ozkanbors-68/+4
Bootstrap command refactoring: improve debuggability (step 5) Continuation of https://github.com/rust-lang/rust/pull/127321. This PR improves the debuggability of command execution, by improving the output logged when a command fails (it now includes the exact location where the command was created and where it was executed), and also by adding a "drop bomb", which will panic if a command was created, but not executed (which is probably a bug). Here is how the output of a failed command looks like: ``` Command "git" "foo" "[bar]" (failure_mode=Exit, stdout_mode=Capture, stderr_mode=Capture) did not execute successfully. Expected success, got exit status: 1 Created at: src/core/build_steps/compile.rs:1699:9 Executed at: src/core/build_steps/compile.rs:1699:58 STDOUT ---- STDERR ---- git: 'foo' is not a git command. See 'git --help'. ``` And this is what is printed if you forget to execute a command: ``` thread 'main' panicked at /projects/personal/rust/rust/src/tools/build_helper/src/drop_bomb/mod.rs:42:13: command constructed at `src/core/build_steps/compile.rs:1699:9` was dropped without being executed: `git` ``` Best reviewed commit by commit. Tracking issue: https://github.com/rust-lang/rust/issues/126819 r? `@onur-ozkan`
2024-07-12Rollup merge of #127381 - Oneirical:testalt-consciousness, r=jieyouxuJubilee-3/+6
Migrate `issue-83045`, `rustc-macro-dep-files` and `env-dep-info` `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 on musl. try-job: dist-x86_64-musl
2024-07-12Move `DropBomb` from `run-make-support` to `build_helper`Jakub Beránek-68/+4
So that it can be also used in bootstrap.
2024-07-12rewrite env-dep-info to rmakeOneirical-3/+6
2024-07-12rewrite extra-filename-with-temp-outputs to rmakeOneirical-0/+5
2024-07-09Auto merge of #127378 - Oneirical:cetestial-meteorite, r=jieyouxubors-2/+15
Migrate `issue-37839`, `track-path-dep-info` and `track-pgo-dep-info` `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 try-job: dist-x86_64-musl
2024-07-08rewrite sepcomp-inlining and -separate to rmake.rsOneirical-8/+14
2024-07-08rewrite sepcomp-separate to rmakeOneirical-10/+18
2024-07-07Improve `run-make/output-type-permutations` code and improve ↵Guillaume Gomez-1/+2
`filename_not_in_denylist` API
2024-07-07Auto merge of #127335 - Oneirical:put-on-a-petestal, r=jieyouxubors-3/+31
Migrate `emit-shared-files` and `emit-path-unhashed` `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
2024-07-05rewrite and rename issue-37839 to rmakeOneirical-2/+15
2024-07-05Expectations struct for output-type-permutationsOneirical-4/+6
2024-07-05add shallow_find_files helper to run_make_supportOneirical-0/+5