Should have a functioning Rust install already through rustup
. This means the Visual Studio 2019 build tools also need to be installed.
With winget installed do:
$ winget install python
$ winget install cmake
Add the following to your PATH
env var:
C:\Program Files\CMake\bin
Reboot your computer.
$ git clone https://github.com/rust-lang/rust
$ cd rust
$ py .\x.py check
Also, the path you build in is not allowed to have spaces in it. This is pretty common on windows, as the persons name is used as a username.
Upstream LLVM bug, unlikely to move.