]> git.lizzy.rs Git - rust.git/commit
Fix `x test src/librustdoc` with download-rustc enabled
authorJoshua Nelson <jnelson@cloudflare.com>
Sun, 27 Mar 2022 14:11:41 +0000 (09:11 -0500)
committerJoshua Nelson <jnelson@cloudflare.com>
Sun, 27 Mar 2022 14:21:50 +0000 (09:21 -0500)
commit1d24c2eeb1ea5c723722b2c8543ecb50a53b2c96
tree8bda602146bc5f28c6444066075411f7810e0a84
parent37b55c8a0cafdb60b9168da34f904acc70157df8
Fix `x test src/librustdoc` with download-rustc enabled

The problem was two-fold:
- Bootstrap was hard-coding that unit tests should always run with stage1, not stage2, and
- It hard-coded the sysroot layout in stage1, which puts libLLVM.so in `lib/rustlib/` instead of just `lib/`.
src/bootstrap/test.rs