Skip to content

Commit 5859189

Browse files
authored
Merge pull request #2895 from jieyouxu/msvc-lldb-22
Update MSVC LLDB 22 advice
2 parents af07685 + acdf028 commit 5859189

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

src/tests/compiletest.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,16 +279,26 @@ the debugger currently being used:
279279
By passing the `--debugger` option to compiletest, you can specify a single debugger to run tests with.
280280
For example, `./x test tests/debuginfo -- --debugger gdb` will only test GDB commands.
281281

282-
> **Note on running lldb debuginfo tests locally**
282+
> **Note on running lldb debuginfo tests locally with a prebuilt lldb
283+
> distribution**
283284
>
284285
> If you want to run lldb debuginfo tests locally, then currently on Windows it
285286
> is required that:
286287
>
288+
> # LLDB 21
289+
>
287290
> - You have Python 3.10 installed.
288291
> - You have `python310.dll` available in your `PATH` env var. This is not
289292
> provided by the standard Python installer you obtain from `python.org`; you
290293
> need to add this to `PATH` manually.
291294
>
295+
> # LLDB 22
296+
>
297+
> - You have Python 3.11 installed.
298+
> - You have `python311.dll` available in your `PATH`.
299+
> - It is recommended that you acquire a Python installation via `pymanager`,
300+
> which has follow-up installer scripts to help you configure `PATH`.
301+
>
292302
> Otherwise the lldb debuginfo tests can produce crashes in mysterious ways.
293303
294304
[`tests/debuginfo`]: https://github.com/rust-lang/rust/tree/HEAD/tests/debuginfo

0 commit comments

Comments
 (0)