Skip to content

Commit

Permalink
Add objc_compile to compile_actions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
keith committed Sep 24, 2024
1 parent 848d56a commit 97cc237
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cc/toolchains/actions/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ cc_action_type_set(
":cpp_compile_actions",
":c_compile_actions",
":assembly_actions",
":objc_compile",
":objcpp_compile",
],
)

Expand Down

0 comments on commit 97cc237

Please sign in to comment.