rules_swift icon indicating copy to clipboard operation
rules_swift copied to clipboard

Bazel rules to build Swift on Apple and Linux platforms

Results 147 rules_swift issues
Sort by recently updated
recently updated
newest added

What method should I use to generate PCM for the system SDK after the swift _c_module is deleted

Let's say A depends on B,B depends on C。 By default, you need B.swiftmodule and C.swiftmodule to compile A。 So if C‘s public interface changed, module A must be recompiled....

Shows an issue (#1461) with `swift_import` rules in Xcode 16+ when using `--spawn_strategy=local`.

Add a feature for "Embedded" which should pass `--enable-experimental-feature Embedded` to swiftc and enable `-wmo`. Additionally object files from intermediate modules should not be linked in to the final binary.

## Motivation Given one or many `proto_library` targets with dependencies, one would like to put them all into a single Swift module. Currently, it is possible only if labels for...

**Repro steps :** in `rules_swift` master branch, run the following command (options documented [here](https://github.com/swiftlang/swift/blob/main/docs/CompilerPerformance.md#tracing-stats-events)) ``` bazelisk build //examples/apple/objc_interop_modulemap:objc_interop_modulemap --swiftcopt=-stats-output-dir --swiftcopt=/Users/ycho/Snapchat/Dev/rules_swift/stats --swiftcopt=-trace-stats-events --swiftcopt=-v ``` **Expected result** trace csv files are generated...