-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
A-build-scriptsArea: build.rs scriptsArea: build.rs scriptsA-layoutArea: target output directory layout, naming, and organizationArea: target output directory layout, naming, and organizationC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-propose-closeStatus: A team member has nominated this for closing, pending further input from the teamStatus: A team member has nominated this for closing, pending further input from the team
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-build-scriptsArea: build.rs scriptsArea: build.rs scriptsA-layoutArea: target output directory layout, naming, and organizationArea: target output directory layout, naming, and organizationC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-propose-closeStatus: A team member has nominated this for closing, pending further input from the teamStatus: A team member has nominated this for closing, pending further input from the team