I've patched rustc, and I'd like to see how it behaves with crates compiled using -Zbuild-std. However, I can't find how to configure x.py build to create a sysroot that works with rustup-linked dev toolchain.
I've tried stage2 and stage3 compilers. I have extended = true and tools = ["src"] in config.toml. Cargo fails with:
Worktree root at '/stage3/lib/rustlib/src/rust' is not a directory
Also how to make other targets like wasm built?