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

Switch the Swift rules over to toolchains #1319

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

brentleyjones
Copy link
Collaborator

PiperOrigin-RevId: 503982850
(cherry picked from commit c42aad2)

@brentleyjones
Copy link
Collaborator Author

brentleyjones commented Oct 1, 2024

I need to add toolchains as well (#1321). Not sure if this is a breaking change. I know for rules_apple to be able to use this they need to update a couple call sites. But since we are still sticking the toolchain in an attribute, I believe the old ways continue to work.

Maybe it can get odd in mixed non-toolchain/toolchain scenarios? I guess wondering if we need to bump the compatibility version again for this change (I hope not).

@brentleyjones
Copy link
Collaborator Author

Without changing anything in rules_apple, this change + #1321 + registering the toolchains still works for me locally.

@brentleyjones brentleyjones force-pushed the bj/switch-the-swift-rules-over-to-toolchains branch 6 times, most recently from ea8aae6 to be27747 Compare October 1, 2024 19:25
@brentleyjones
Copy link
Collaborator Author

Will merge #1323 first.

@brentleyjones
Copy link
Collaborator Author

This change passes our CI, so it's probably safe without bumping our compatibility version.

PiperOrigin-RevId: 503982850
(cherry picked from commit c42aad2)
Signed-off-by: Brentley Jones <github@brentleyjones.com>
@brentleyjones brentleyjones force-pushed the bj/switch-the-swift-rules-over-to-toolchains branch from 865e979 to 3da12f5 Compare October 2, 2024 14:08
@brentleyjones brentleyjones enabled auto-merge (rebase) October 2, 2024 14:08
@brentleyjones brentleyjones merged commit c0644db into master Oct 2, 2024
14 checks passed
@brentleyjones brentleyjones deleted the bj/switch-the-swift-rules-over-to-toolchains branch October 2, 2024 14:10
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.

3 participants