diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-11-17 00:53:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-16 16:53:42 +0000 |
| commit | e91942cbdb43827bbbf83a6cf1769663f14eb173 (patch) | |
| tree | 3eaee3322b0831f246acf54239503111946ff7fb /src/doc | |
| parent | 3264a46f5b43714d11737e780d2d02d55fed7e21 (diff) | |
| download | rust-e91942cbdb43827bbbf83a6cf1769663f14eb173.tar.gz rust-e91942cbdb43827bbbf83a6cf1769663f14eb173.zip | |
Document how to acquire `cdb.exe` (#2137)
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/tests/compiletest.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md index dc886e25257..f47715889df 100644 --- a/src/doc/rustc-dev-guide/src/tests/compiletest.md +++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md @@ -272,6 +272,17 @@ the debugger currently being used: [`tests/debuginfo`]: https://github.com/rust-lang/rust/tree/master/tests/debuginfo +> **Note on acquiring `cdb.exe` on Windows 11** +> +> `cdb.exe` is acquired alongside a suitable "Windows 11 SDK" which is part of +> the "Desktop Development with C++" workload profile in a Visual Studio +> installer (e.g. Visual Studio 2022 installer). +> +> **HOWEVER** this is not sufficient by default alone. If you need `cdb.exe`, +> you must go to Installed Apps, find the newest "Windows Software Development +> Kit" (and yes, this can still say `Windows 10.0.22161.3233` even though the OS +> is called Windows 11). You must then click "Modify" -> "Change" and then +> selected "Debugging Tools for Windows" in order to acquire `cdb.exe`. ### Codegen tests |
