The Cargo team has done a Call for Testing for the unstable build-dir and I'm looking into stabilizing it. This allows users to move intermediate artifacts out of their target-dir. With how r-a is using target-dir (e.g. #20072), it seems that build-dir will be the more appropriate location moving forward.
Note:
build-dir files do not have compatibility guarantees
- In the future we may change the default
build-dir
- In the future, we may change the layout of
build-dir
See rust-lang/cargo#14125 (comment)
The Cargo team has done a Call for Testing for the unstable
build-dirand I'm looking into stabilizing it. This allows users to move intermediate artifacts out of theirtarget-dir. With how r-a is usingtarget-dir(e.g. #20072), it seems thatbuild-dirwill be the more appropriate location moving forward.Note:
build-dirfiles do not have compatibility guaranteesbuild-dirbuild-dirSee rust-lang/cargo#14125 (comment)