Open
Description
Challenges: #9661 (comment)
Use cases (with alternatives): #9661 (comment)
Original Issue
The problem: I need to locate the target dir from the build script.
The solution: I'd love a CARGO_TARGET_DIR
environment variable. There's clearly precedent for this as cargo doc
depends on such a thing today.
@jyn514 suggested I reach out to the Cargo team for advice.
Currently the Windows crate has been using various hacky solutions that are problematic.