Cargo Workspace Provided build scripts ROOT Directory #7036
Labels
A-build-scripts
Area: build.rs scripts
A-workspaces
Area: workspaces
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
I'm trying to write a build script that uses a shared configuration in the workspace. In this case I'm playing with cbindgen and want a global base configuration to share between crates.
I think it would be useful for workspace build script to be provided an environment variable that has the path to the workspace root directory.
The text was updated successfully, but these errors were encountered: