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 feature to check for ObjcProvider linker info availability #20

Conversation

brentleyjones
Copy link
Collaborator

@brentleyjones brentleyjones commented Aug 21, 2023

Some rulesets inspect linking information from ObjcProvider and fallback to CcInfo only if a rule doesn’t propagate an ObjcProvider. After 7.0.0-pre.20230724.1 (bazelbuild/bazel@426f225) a ObjcProvider will exist, but it won’t have any linking information set.

@brentleyjones brentleyjones force-pushed the bj/add-feature-to-check-for-objcprovider-linker-info-availability branch from 2b089ee to f4ab6a2 Compare August 21, 2023 15:20
@meteorcloudy
Copy link
Collaborator

For future reference, can you put a link to the relevant Bazel change in the PR description or code comment?

Some rulesets inspect linking information from `ObjcProvider` and fallback to `CcInfo` only if a rule doesn’t propagate an `ObjcProvider`. After `7.0.0-pre.20230724.1` (bazelbuild/bazel@426f225) a `ObjcProvider` will exist, but it won’t have any linking information set.

Signed-off-by: Brentley Jones <github@brentleyjones.com>
@brentleyjones brentleyjones force-pushed the bj/add-feature-to-check-for-objcprovider-linker-info-availability branch from f4ab6a2 to 078b76e Compare August 21, 2023 15:34
@brentleyjones
Copy link
Collaborator Author

Added to both.

@meteorcloudy meteorcloudy merged commit da7fc92 into bazel-contrib:main Aug 21, 2023
5 checks passed
@brentleyjones brentleyjones deleted the bj/add-feature-to-check-for-objcprovider-linker-info-availability branch August 21, 2023 15:53
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

Successfully merging this pull request may close these issues.

2 participants