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

Add support for cc_shared_library changes in bazel 6.3.0 #1

Open
0xf005ba11 opened this issue Nov 8, 2023 · 0 comments
Open

Add support for cc_shared_library changes in bazel 6.3.0 #1

0xf005ba11 opened this issue Nov 8, 2023 · 0 comments

Comments

@0xf005ba11
Copy link
Owner

0xf005ba11 commented Nov 8, 2023

Bazel 6.3.0 appears to have made some changes to the experimental cc_shared_library which is causing an error when a resource_script is used as a dependency.

ERROR: D:/dev/bazel_example_project/dll/BUILD:26:18: in cc_shared_library rule //dll:dll:
Traceback (most recent call last):
        File "/virtual_builtins_bzl/common/cc/experimental_cc_shared_library.bzl", line 656, column 114, in _cc_shared_library_impl
        File "/virtual_builtins_bzl/common/cc/experimental_cc_shared_library.bzl", line 383, column 48, in _filter_inputs
Error: <target //dll:dll_rc> (rule 'resource_script') doesn't contain declared provider 'GraphNodeInfo'
ERROR: D:/dev/bazel_example_project/dll/BUILD:26:18: Analysis of target '//dll:dll' failed                                                                  
ERROR: Analysis of target '//dll:dll' failed; build aborted:          

Change might have something to do with this bazel commit: bazelbuild/bazel@d5909ac as a part of bazel #17091.

@0xf005ba11 0xf005ba11 changed the title Add support for cc_shared_library changes in bazel 6.4.0 Add support for cc_shared_library changes in bazel 6.3.0 Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant