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

Update experimental_mixed_language_library docs #2374

Merged
merged 2 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions apple/internal/experimental_mixed_language_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,12 @@ def experimental_mixed_language_library(
This is an experimental macro that supports compiling mixed Objective-C and
Swift source files into a static library.

Due to the build performance reason, in general it's not recommended to
Due to build performance reasons, in general it's not recommended to
have mixed Objective-C and Swift modules, but it isn't uncommon to see
mixed language modules in some old codebases. This macro is meant to make
mixed language modules in some codebases. This macro is meant to make
it easier to migrate codebases with mixed language modules to Bazel without
having to demix them first.

This macro only supports a simple use case of mixed language
modules, it does not support header maps.

Args:
name: A unique name for this target.
deps: A list of targets that are dependencies of the target being
Expand Down
7 changes: 2 additions & 5 deletions doc/rules-apple.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,15 +385,12 @@ Compiles and links Objective-C and Swift code into a static library.
This is an experimental macro that supports compiling mixed Objective-C and
Swift source files into a static library.

Due to the build performance reason, in general it's not recommended to
Due to build performance reasons, in general it's not recommended to
have mixed Objective-C and Swift modules, but it isn't uncommon to see
mixed language modules in some old codebases. This macro is meant to make
mixed language modules in some codebases. This macro is meant to make
it easier to migrate codebases with mixed language modules to Bazel without
having to demix them first.

This macro only supports a simple use case of mixed language
modules, it does not support header maps.


**PARAMETERS**

Expand Down