3.1.0
What's Changed
- Add
always_include_developer_search_pathstomixed_language_libraryby @jschear in #1539 - Add
clang_depsattr tomixed_language_libraryby @jschear in #1540 - Use
ctx.coverage_instrumentedto detect if a target should be instrumented by @brentleyjones in #1547 - Fix
rules_ccfor 7.x WORKSPACE/non-bzlmod users by @aaronsky in #1549 - Fix
.swiftsourceinforeadonly bugs in version 3+ by @luispadron in #1550
Full Changelog: 3.0.2...3.1.0
This release is compatible with Bazel 7.x LTS, 8.x LTS, and 9.x rolling releases.
MODULE.bazel Snippet
bazel_dep(name = "rules_swift", version = "3.1.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 = "a7753fc930005bd1fffde96a63b562db873d58d5ad07752c1f7e16581feb4bb6",
url = "https://github.com/bazelbuild/rules_swift/releases/download/3.1.0/rules_swift.3.1.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()