mirror of
https://github.com/rust-lang/cargo
synced 2024-09-13 21:11:44 +00:00
294967c53f
Fix some tests with output collisions. This fixes some tests which run afoul of creating colliding outputs (tracked in #6313). In particular, these tests are creating duplicate pdb files on Windows because they have a binary and a library (dylib) with the same name. This is causing significant issues on rust-lang's CI (https://github.com/rust-lang/rust/issues/81890) where the MSVC linker is failing with a mysterious LNK1201 error. Presumably two LINK.exe processes are trying to write to the same PDB file at the same time, which causes it to fail. Ideally this shouldn't happen, but I don't really have any ideas on how to resolve it, as the name of the PDB has some importance. I have not been able to reproduce the LNK1201 error. My hope is that this change will help alleviate the issue, though. I updated the `doc_all_member_dependency_same_name` test to illustrate that it is hitting a collision, which is a fundamental part of that test (and something we should probably figure out how to resolve in the future). |
||
---|---|---|
.. | ||
build-std | ||
testsuite | ||
internal.rs |