1.10.0
What's Changed
- Add support for
-package-name
via a newpackage_name
attribute onswift_*
rules. This requires Swift 5.9+ and enables use of thepackage
ACL - Replace
DEVELOPER_DIR
remapping with/PLACEHOLDER_DEVELOPER_DIR
to make it easier to differentiate and to use an absolute path which improves index-import performance - Update
platforms
to 0.0.7 to support visionOS in the future - Add an API to compile a
.swiftinterface
file into a.swiftmodule
for vendored frameworks
This release is compatible with 5.x LTS, 6.x LTS, and bazel 7.x rolling releases
MODULE.bazel Snippet
bazel_dep(name = "rules_swift", version = "1.10.0", repo_name = "build_bazel_rules_swift")
Workspace Snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_bazel_rules_swift",
sha256 = "3a595a64afdcaf65b74b794661556318041466d727e175fa8ce20bdf1bb84ba0",
url = "https://github.com/bazelbuild/rules_swift/releases/download/1.10.0/rules_swift.1.10.0.tar.gz",
)
load(
"@build_bazel_rules_swift//swift:repositories.bzl",
"swift_rules_dependencies",
)
swift_rules_dependencies()
load(
"@build_bazel_rules_swift//swift:extras.bzl",
"swift_rules_extra_dependencies",
)
swift_rules_extra_dependencies()