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

Use C++ environment variables when constructing link command line #252

Merged
merged 2 commits into from
Sep 27, 2019

Conversation

hlopko
Copy link
Member

@hlopko hlopko commented Sep 26, 2019

This PR makes sure that rustc action also takes declared environment
variables from the C++ toolchain when constructing the action. This way
the C++ toolchain can start using more environment variables without
breaking rust.

hlopko pushed a commit to bazelbuild/continuous-integration that referenced this pull request Sep 26, 2019
Rules rust until the bug fix in bazelbuild/rules_rust#252 is submitted
@hlopko
Copy link
Member Author

hlopko commented Sep 26, 2019

Hmm, I see the same failure from my presubmits on master, but buildkite is green.. Something funky is going on?

This PR makes sure that rustc action also takes declared environment
variables from the C++ toolchain when constructing the action. This way
the C++ toolchain can start using more environment variables without
breaking rust.
@hlopko
Copy link
Member Author

hlopko commented Sep 26, 2019

Ok, I was using old fork, all is fine now, please take a look.

@fweikert fweikert merged commit 55f7701 into bazelbuild:master Sep 27, 2019
fweikert added a commit to bazelbuild/bazel-federation that referenced this pull request Sep 27, 2019
We need to use a version of rules_rust that includes bazelbuild/rules_rust#252 in order to fix a breakage in the federation tests (https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1209#df505afb-20a4-4056-ad06-2fa973dbc6c9).
fweikert added a commit to bazelbuild/bazel-federation that referenced this pull request Sep 27, 2019
We need to use a version of rules_rust that includes bazelbuild/rules_rust#252 in order to fix a breakage in the federation tests (https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1209#df505afb-20a4-4056-ad06-2fa973dbc6c9).
hlopko pushed a commit to bazelbuild/rules_docker that referenced this pull request Sep 30, 2019
This version contains a fix (bazelbuild/rules_rust#252) for how rules_rust constructed C++ command lines.
hlopko pushed a commit to bazelbuild/continuous-integration that referenced this pull request Sep 30, 2019
@hlopko hlopko deleted the use_env_vars_from_cc_too branch November 6, 2019 19:40
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

5 participants