Skip to content

3.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 19:43
ad91f42

What's Changed

  • Fix last_green bazel support by @keith in #1606
  • feat(examples): make -cxx-interoperability-mode a feature by @ma-oli in #1567
  • Support additional_linker_inputs in swift_binary by @adincebic in #1584
  • feat(swift): add embedded Swift feature by @ma-oli in #1608
  • feat(toolchain): add embedded OS support in swift toolchain by @ma-oli in #1609
  • feat(toolchain): add missing action types to toolchain configs by @ma-oli in #1611
  • Allow setting exec_group in more places by @brentleyjones in #1588
  • Fix SWIFT_TOOLCHAIN_TYPE to work with Bzlmod + AEGs by @brentleyjones in #1587
  • refactor(toolchain): fix --plugin-path on non-Xcode toolchains by @ma-oli in #1610
  • Fix windows toolchain target_compatible_with by @keith in #1616
  • Move the C++ toolchain into its own execution group so that it does not have to be bound by the same constraints as the execution platform selected for the Swift toolchain. by @brentleyjones in #1586
  • Enable support for AEGs by @brentleyjones in #1585
  • Add rpaths for the toolchain's compatibility back-deployment librarie by @adincebic in #1589

Full Changelog: 3.3.0...3.4.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.4.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 = "13219bde174594c7af5403c7f3f41c37d1a62041294a0fd14c0834ca472fa8dc",
    url = "https://github.com/bazelbuild/rules_swift/releases/download/3.4.0/rules_swift.3.4.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()