Skip to content

1.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Sep 17:04
· 285 commits to master since this release
bc7d68d

What's Changed

  • Add initial Swift Macros support through a new swift_compiler_plugin rule and macros attribute on other rules. This requires Swift 5.9, an example can be found here in the docs
  • Add initial visionOS support. See rules_apple for usage.

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.11.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 = "f7ab777e1b246cebed185417bffd93135be806e45248c57fd34e0f676bfb1c65",
    url = "https://github.com/bazelbuild/rules_swift/releases/download/1.11.0/rules_swift.1.11.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()