-
Notifications
You must be signed in to change notification settings - Fork 104
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
buildrs_additional_environment_variables is no longer respected after #166 #179
Comments
It passes I am building rust-protobuf in this repo by relying on
|
Indeed the CARGO_PKG_VERSION is not added, let me try to send a PR to fix that on rules_rust. |
…ipts cargo-raze as the `buildrs_additional_environment_variables` that allow extraneous environment variable to be passed to the build script. In addition this should enable for everybody to add the environment variable not added at this time. That's the rules_rust side of the fix for google/cargo-raze#179.
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.
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.
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.
Thanks, and it will also need to be passed in the template: https://github.com/google/cargo-raze/blob/master/impl/src/templates/partials/build_script.template? |
Yes :) #180 was already on my computer yesterday but now it is sent for review :) |
Since the switch to the cargo_build_script rule, the buildrs_additional_environment_variables was no longer working, this change add this support back. Fixes #179
Hi Damien, could a new release be cut so I can install the new version and verify this change? Thanks! |
Published 0.3.7 containing this fix. |
After #166,
buildrs_additional_environment_variables
is no longer respected. An example breakage is thatrust-protobuf
can no longer be built, as itsbuild.rs
expectedRUSTC
andCARGO_PKG_VERSION
. I temporarily unblocked myself by downgrading from 0.3.5 to 0.3.3, but I think thebuildrs_additional_environment_variables
should keep being supported, or it should be removed with its replacement documented.The text was updated successfully, but these errors were encountered: