Skip to content

Commit

Permalink
Note lldb debuginfo requires python310.dll to be present in PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu authored and Noratrieb committed Sep 24, 2024
1 parent 555f3de commit fc02fea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/tests/compiletest.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,17 @@ test based on the debugger currently being used:
NOTE: The "Rust" version of LLDB doesn't exist anymore, so this will always be ignored.
This should probably be removed.

> **Note on running lldb debuginfo tests locally**
>
> If you want to run lldb debuginfo tests locally, then currently on Windows it is required that:
>
> - You have **exactly** Python 3.10 installed -- not a newer version, not an older version,
> precisely 3.10.
> - You have the `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.
>
> Otherwise the lldb debuginfo tests can produce crashes in mysterious ways.
[`tests/debuginfo`]: https://github.com/rust-lang/rust/tree/master/tests/debuginfo


Expand Down

0 comments on commit fc02fea

Please sign in to comment.