bazelbuild / rules_apple

Bazel rules to build apps for Apple platforms.
Apache License 2.0
512 stars 269 forks source link

Add support for clang modules in experimental_mixed_language_library #2351

Closed luispadron closed 10 months ago

luispadron commented 10 months ago

This adds support for @import when using experimental_mixed_language_library. There seems to be a "bug" (or at least a usability issue) in Bazel where if module_map is set on objc_library then the enable_modules attr does nothing.

This enables modules via copts instead, similar to how it was done in rules_apple_line.