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 objc_compile to compile_actions #245

Conversation

keith
Copy link
Member

@keith keith commented Sep 24, 2024

The majority of the time objc_compile is identical to C/C++ compiles. Because of this I think by default all of those flags should apply here. This is a bit funny since the current builtin toolchain doesn't support Objective-C at all and that's only in the apple_support toolchain, but new toolchains using these rules may want to support this.

Without this things like --objccopt just don't work out of the box.

The majority of the time objc_compile is identical to C/C++ compiles.
Because of this I think by default all of those flags should apply here.
This is a bit funny since the current builtin toolchain doesn't support
Objective-C at all and that's only in the apple_support toolchain, but
new toolchains using these rules may want to support this.

Without this things like `--objccopt` just don't work out of the box.
@keith keith force-pushed the ks/add-objc_compile-to-compile_actions branch from 2614ae4 to 97cc237 Compare September 24, 2024 22:23
@copybara-service copybara-service bot merged commit 565dbd6 into bazelbuild:main Oct 4, 2024
2 of 3 checks passed
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