Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo Workspace Provided build scripts ROOT Directory #7036

Closed
mtthw-meyer opened this issue Jun 14, 2019 · 1 comment
Closed

Cargo Workspace Provided build scripts ROOT Directory #7036

mtthw-meyer opened this issue Jun 14, 2019 · 1 comment
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`

Comments

@mtthw-meyer
Copy link

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.

@mtthw-meyer mtthw-meyer added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label Jun 14, 2019
@ehuss ehuss added A-build-scripts Area: build.rs scripts A-workspaces Area: workspaces labels Jun 24, 2019
@ehuss
Copy link
Contributor

ehuss commented Mar 5, 2020

Closing as a duplicate of #3946.

@ehuss ehuss closed this as completed Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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`
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants