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

fix: add all_files to the dummy cc_toolchain #265

Merged

Conversation

qzmfranklin
Copy link
Contributor

@qzmfranklin qzmfranklin commented Nov 4, 2019

This avoids a problem where rustc_compile_action() tries to use the
all_files property of the cc_toolchain.

This problem only occurs after turning on the following Bazel flag:
--incompatible_enable_cc_toolchain_resolution

The dummy cc toolchain is only used for building for wasm32.

This avoids a problem where rustc_compile_action() tries to use the
`all_files` property of the cc_toolchain.

This problem only occurs after turning on the following Bazel flag:
    --incompatible_enable_cc_toolchain_resolution
@qzmfranklin
Copy link
Contributor Author

@johnedmonds Since you were the author of the rust-bazel-wasm support, I thought you might also want to take a look.

@mfarrugi mfarrugi merged commit b94d3a4 into bazelbuild:master Nov 4, 2019
@qzmfranklin qzmfranklin deleted the zhongming/fix-dummy-cc-toolchain branch November 4, 2019 06:54
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