Skip to content

1.14.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jan 17:16
· 264 commits to master since this release
154be9c

What's Changed

  • Fix clang discovery when compiler isn't named clang
  • Update swift_test to fail if it doesn't execute any tests, thanks @jszumski!
  • Add --@build_bazel_rules_swift//swift:copt and --@build_bazel_rules_swift//swift:exec_copt flags to replace --swiftcopt and --host_swiftcopt in the future (--host_swiftcopt is already removed from bazel @ HEAD). The easiest migration path is to use --flag_alias=swiftcopt=@build_bazel_rules_swift//swift:copt --flag_alias=host_swiftcopt=@build_bazel_rules_swift//swift:exec_copt
  • Fix bazel @ HEAD support removing linking info from the objc provider

This release is compatible with 5.x LTS, 6.x LTS, 7.x LTS, and bazel 8.x rolling releases

MODULE.bazel Snippet

bazel_dep(name = "rules_swift", version = "1.14.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 = "9b0064197e3b6c123cf7cbd377ad5071ac020cbd208fcc23dbc9f3928baf4fa2",
    url = "https://github.com/bazelbuild/rules_swift/releases/download/1.14.0/rules_swift.1.14.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()