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

Pass extraneous environment variables to build scripts #362

Merged
merged 3 commits into from
Jun 30, 2020

Conversation

damienmg
Copy link
Collaborator

cargo-raze has buildrs_additional_environment_variables which allows
extraneous environment variable to be passed to the build script. In addition
this should enable for everybody to add the environment variables that are
not added by the cargo_build_script rule itself.

That's the rules_rust side of the fix for google/cargo-raze#179.

@damienmg damienmg requested a review from smklein June 30, 2020 10:36
@smklein smklein self-assigned this Jun 30, 2020
cargo/cargo_build_script.bzl Outdated Show resolved Hide resolved
@smklein smklein removed their assignment Jun 30, 2020
cargo-raze has `buildrs_additional_environment_variables` which allows
extraneous environment variable to be passed to the build script. In addition
this should enable for everybody to add the environment variables that are
not added by the `cargo_build_script` rule itself.

That's the rules_rust side of the fix for google/cargo-raze#179.
@damienmg damienmg merged commit 149400c into bazelbuild:master Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants