rust/src
bors 8051f01265 Auto merge of #141856 - folkertdev:run-make-forward-compiletest-runner, r=jieyouxu
forward the bootstrap `runner` to `run-make`

The runner was already forwarded to `compiletest`, this just passes it on to `run-make` and uses it in the `run` functions.

The configuration can look like this

```toml
# in bootstrap.toml
[target.s390x-unknown-linux-gnu]
runner = "qemu-s390x -L /usr/s390x-linux-gnu"
```

Any C compilation automatically sets the correct target. Calls to rustc must use `.target(target())`. Then, a command like below will work by cross-compiling to the given target, and using the given runner for that target to execute the binary:

```
./x test tests/run-make/c-link-to-rust-va-list-fn --target s390x-unknown-linux-gnu
```

The runner can also be used for e.g. running with `valgrind`.

This PR also enables its use in the test case that I care about, hopefully that actually does work on the platforms that CI uses. We should probably run some try jobs to be sure?

r? `@jieyouxu`

try-job: test-various
try-job: armhf-gnu
2025-06-22 02:21:13 +00:00
..
bootstrap Rollup merge of #142758 - jieyouxu:rustdoc-json-types, r=Kobzol 2025-06-20 20:03:23 +02:00
build_helper Improve error message for rustdoc_json_types tidy check 2025-06-20 16:22:05 +02:00
ci Auto merge of #142245 - marcoieni:split-gnu-tools, r=Kobzol 2025-06-19 10:39:00 +00:00
doc Rollup merge of #142743 - tshepang:rdg-push, r=jieyouxu 2025-06-20 20:03:22 +02:00
etc Remove unused bootstrap flag 2025-06-18 09:38:28 +02:00
gcc@04ce66d8c9 Update src/gcc submodule to 04ce66d8c918de9273bd7101638ad8724edf5e21 2025-05-14 18:02:02 +02:00
librustdoc Auto merge of #142667 - yotamofek:pr/rustdoc/more-write-shared-perf, r=nnethercote 2025-06-21 23:18:00 +00:00
llvm-project@ed6566573e Update to LLVM 20.1.7 2025-06-13 14:44:34 +08:00
rustc-std-workspace
rustdoc-json-types rustdoc_json: represent generic args consistently. 2025-06-21 13:52:46 +10:00
tools forward the bootstrap runner to run-make 2025-06-22 01:37:51 +02:00
README.md
stage0 Bump master stage0 compiler 2025-05-27 20:36:00 +08:00
version bump version number to 1.89.0 2025-05-09 11:13:08 +02:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.