Skip to content

Add feature to check for ObjcProvider linker info availability#20

Merged
meteorcloudy merged 1 commit intobazel-contrib:mainfrom
brentleyjones:bj/add-feature-to-check-for-objcprovider-linker-info-availability
Aug 21, 2023
Merged

Add feature to check for ObjcProvider linker info availability#20
meteorcloudy merged 1 commit intobazel-contrib:mainfrom
brentleyjones:bj/add-feature-to-check-for-objcprovider-linker-info-availability

Conversation

@brentleyjones
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator Author

Added to both.

@meteorcloudy meteorcloudy merged commit da7fc92 into bazel-contrib:main Aug 21, 2023
@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