-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-windowsOperating system: WindowsOperating system: WindowsT-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
The 2019-04-02 Windows nightly has no uses a different directory for rust-lld
includedrust-lld
so that rustc
does not find it anymore. You can see this by downloading the nightly x86_64-pc-windows-msvc
archive from https://forge.rust-lang.org/other-installation-methods.html#standalone-installers. In contrast to stable, beta, and earlier nightlies, the current nightly has no rust-nightly-x86_64-pc-windows-msvc/rustc/lib/rustlib/x86_64-pc-windows-msvc/bin
folder.
Versions:
rustc 1.35.0-nightly (428943c 2019-04-02)
binary: rustc
commit-hash: 428943c
commit-date: 2019-04-02
host: x86_64-pc-windows-msvc
release: 1.35.0-nightly
LLVM version: 8.0
cargo 1.35.0-nightly (63231f438 2019-03-27)
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-windowsOperating system: WindowsOperating system: WindowsT-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.Relevant to the infrastructure team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
alexcrichton commentedon Apr 3, 2019
Thanks for the report! @phil-opp can you confirm the exact installer that you're using? I unfortunately don't have a windows machine to reproduce on right now, but both these URLs contains
rust-lld.exe
in what I believe is the expected location:phil-opp commentedon Apr 3, 2019
@alexcrichton They indeed contain a
rust-lld.exe
but it seems like the location is wrong.For https://static.rust-lang.org/dist/2019-04-03/rustc-nightly-x86_64-unknown-linux-gnu.tar.gz :
For https://static.rust-lang.org/dist/2019-04-03/rustc-nightly-x86_64-pc-windows-msvc.tar.gz :
For https://static.rust-lang.org/dist/2019-04-02/rustc-nightly-x86_64-pc-windows-msvc.tar.gz (the nightly before):
So for some reason the
rustlib
directory now lives inrustc/bin
instead ofrustc/lib
. I assume that this is the reason thatrustc
does not findrust-lld
anymore on Windows in the latest nightly.alexcrichton commentedon Apr 3, 2019
Heh, an excellent point! Given the regression range this is almost surely https://github.com/rust-lang/rust/pull/59341/files.
cc @o01eg, would you mind taking a look at this? I'm going to post a PR to revert that change in the meantime
Debugging for rust-lang/rust#59661
Debugging for rust-lang/rust#59661
phil-opp commentedon Apr 3, 2019
Closing as per my comments in #59668 (comment):
Edit: It seems like projects that don't use cargo-xbuild/xargo are affected as well.
rust-lld
not found drager/wasm-pack#618Rollup merge of rust-lang#59672 - o01eg:fix-59661, r=oli-obk
Rollup merge of rust-lang#59672 - o01eg:fix-59661, r=oli-obk
Auto merge of #59672 - o01eg:fix-59661, r=oli-obk