Uh oh!
There was an error while loading. Please reload this page.
Search codegen backends based on target libdir instead of sysroot - #57101
Conversation
Fixes cases with custom libdir when it consists of two or more parts.
rust-highfive
commented
Dec 24, 2018
r? @davidtwco (rust_highfive has picked a reviewer for you, use r? to override) |
davidtwco
commented
Dec 28, 2018
alexcrichton
commented
Jan 2, 2019
@bors: r+ |
bors
commented
Jan 2, 2019
📌 Commit 4e7d53d has been approved by |
Search codegen backends based on target libdir instead of sysroot Fixesrust-lang#57014 Fixes cases with custom libdir when it consists of two or more parts.
bors
commented
Jan 5, 2019
Search codegen backends based on target libdir instead of sysroot Fixes#57014 Fixes cases with custom libdir when it consists of two or more parts.
bors
commented
Jan 5, 2019
☀️ Test successful - status-appveyor, status-travis |
rust-highfive
commented
Jan 5, 2019
Tested on commit rust-lang/rust@6861426. Direct link to PR: <rust-lang/rust#57101> 💔 miri on windows: test-pass → test-fail (cc @oli-obk@RalfJung@eddyb, @rust-lang/infra).
RalfJung
commented
Jan 5, 2019
Uh... any idea why this would affect Miri only on Windows, and what we could do about that? The error is |
o01eg
commented
Jan 5, 2019
It's strange. What is correct place of codegen library? |
RalfJung
commented
Jan 5, 2019
I have no idea, I hoped you'd tell me.^^ |
o01eg
commented
Jan 5, 2019
I suppose it could be broken because windows places dynamic libraries in the "bin" folder. |
o01eg
commented
Jan 5, 2019
I'm afraid other tools will fail as well but they were already broken. |
Unfortunately it broke all the tools for MSVC target: #57303
That's correct, for both Windows target |
o01eg
commented
Jan 6, 2019
How are executable binaries and codegen and rustc_driver libraries placed on windows? It looks like it requires other way to calculate target libdir and codegen folder. |
They would have been fixed by #57303 but the pr broke them in a way I cannot fix as I don't have windows. Could you please provide a fix for this? |
mati865
commented
Jan 6, 2019
Generally the only difference in files placement between UNIX and Windows (MinGW at least) should be runtime lib placement. On UNIX they are inside Here is the tree of MinGW toolchain installed with rustup: tree.txt |
o01eg
commented
Jan 6, 2019
I could try to fix it after tomorrow. I think it better to revert PR now and then I try to fix it. |
This reverts commit 6861426, reversing changes made to cae623c. Should fix tools on windows. Reopens rust-lang#57014
Fixes#57014
Fixes cases with custom libdir when it consists of two or more parts.