Clone the rust source someplace local.
$ git clone https://github.com/rust-lang/rust.git
$ cd rust
Then apply pull request #34686. I did it by hand because I don't know any better.
Edit src/stage0.txt
to the latest nightly to work around issue
#34674.