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

Handle toolchain provider renames from rules_apple #494

Conversation

mattrobmattrob
Copy link
Collaborator

Note: This bumps rules_apple to a non-tagged release so please block if that's not desired.

Summary

resources_partial has renamed apple_toolchain_info to apple_mac_toolchain_info:

https://github.com/bazelbuild/rules_apple/blob/56c54f25253b616bdd852b569023a437a4f95768/apple/internal/partials/resources.bzl#L558

AppleSupportToolchainInfo provider has been renamed to AppleSupportMacToolsToolchainInfo (and then to AppleMacToolsToolchainInfo):

bazelbuild/rules_apple@eba6e68#diff-f06c6d6866f9332aa9ea85f2e0ccc46f67dfa8e67814a57f243bad6441856f4eL260-R260

bazelbuild/rules_apple@25ae977#diff-fbbb4cbee7c788f8869825280431690c3a1f7994af24a89ab86a17ca72a140c9R17

xcode_path_wrapper was removed from apple_support.run():

bazelbuild/rules_apple@c9d6a57#diff-6c787cdc6f35c8d92b621a6469457c92f97d29e4a4005ee6617fb2851725b0f4L81

@luispadron
Copy link
Collaborator

Nice I did the same here already: #493

@mattrobmattrob
Copy link
Collaborator Author

Closing in favor of #493.

Thanks for the heads up, @luispadron!

@luispadron
Copy link
Collaborator

@mattrobmattrob although it looks like I changed more 🤔

@mattrobmattrob
Copy link
Collaborator Author

I'd bet yours is a more future-proof forward of things into the partials. 👍

@mattrobmattrob mattrobmattrob deleted the mr/handle.toolchain.provider.renames.from.rules_apple branch June 22, 2022 22:09
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