diff --git a/src/tests/compiletest.md b/src/tests/compiletest.md index 36dc71a3ac..60871b65ae 100644 --- a/src/tests/compiletest.md +++ b/src/tests/compiletest.md @@ -279,16 +279,26 @@ the debugger currently being used: By passing the `--debugger` option to compiletest, you can specify a single debugger to run tests with. For example, `./x test tests/debuginfo -- --debugger gdb` will only test GDB commands. -> **Note on running lldb debuginfo tests locally** +> **Note on running lldb debuginfo tests locally with a prebuilt lldb +> distribution** > > If you want to run lldb debuginfo tests locally, then currently on Windows it > is required that: > +> # LLDB 21 +> > - You have Python 3.10 installed. > - You have `python310.dll` available in your `PATH` env var. This is not > provided by the standard Python installer you obtain from `python.org`; you > need to add this to `PATH` manually. > +> # LLDB 22 +> +> - You have Python 3.11 installed. +> - You have `python311.dll` available in your `PATH`. +> - It is recommended that you acquire a Python installation via `pymanager`, +> which has follow-up installer scripts to help you configure `PATH`. +> > Otherwise the lldb debuginfo tests can produce crashes in mysterious ways. [`tests/debuginfo`]: https://github.com/rust-lang/rust/tree/HEAD/tests/debuginfo