Add support for Cargo's new build-dir layout#449
Conversation
This commit adds logic to handle the new layout of Cargo's `build-dir` which changes the directory structure of Cargo internally. See rust-lang/cargo#15010
|
Is it different from #409 ? |
|
rust-lang/cargo#13672 - also related. |
Yes, in #409 it added support for Cargo's There is a separate change to restructure the file layout of |
|
Seems to work. Or at least it doesn't break the existing build :) If only cargo would pass the info about generated files - whole this guessing whack-a-mole wouldn't be necessary. Let's merge it, I appreciate the contribution ❤️ |
|
Thanks! And for what it's worth, your issue was called out in the known issues of the tracking issue as things we need to improve so people do not need to rely on Cargo internals. |
|
0.2.57 is out. |
This PR adds logic to handle the new layout of Cargo's
build-dirwhich changes the directory structure of Cargo internally.(can be enabled with
-Zbuild-dir-new-layout)Resources