Files
rust/src
bors fff9e44322 Auto merge of #154844 - Walnut356:compiletest_windows, r=jieyouxu
Fix `compiletest` path-related issues on Windows

fixes the issues mentioned [here](https://github.com/rust-lang/rust/pull/147552#issuecomment-4178431869). With these changes I'm able to run `./x test tests/debuginfo` on `x86_64-pc-windows-gnu` without any issues.

As mentioned in the link though, there are 3 tests that currently fail when run on windows, but that pass on whatever CI targets actually run `tests/debuginfo`.

I'm not sure if `target_run_lib_path` really needs to be prepended on all targets (it absolutely does for Windows though), but i figure it can't hurt. Also made sure the path separators are correct per-platform.

The `lldb_batchmode` change prevents the tests from hanging forever. I'm not 100% sure why this hasn't been a problem so far. Maybe just due to the version of LLDB used on the test runner? I haven't done too much testing, but the situation is...weird. I opened [an issue about it in the LLVM repo](https://github.com/llvm/llvm-project/issues/190516).
2026-04-06 13:20:41 +00:00
..
2026-03-30 19:44:35 -07:00
2026-04-05 04:11:36 -05:00
2026-02-14 16:59:09 +01:00
2026-03-07 10:42:02 -08:00
2026-02-27 09:38:23 -08: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.