https://github.com/rust-lang/rust/pull/103660 made rustc discover the sysroot automatically even when using external tools.