chore(deps): update dependency build_bazel_rules_swift to v2 #177
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.18.0
->2.0.0
Release Notes
bazelbuild/rules_swift (build_bazel_rules_swift)
v2.0.0
Compare Source
What's Changed
Breaking Changes
swift_module=
tag oncc_library
targets no longer does anything, and theswift_c_module
rule was removed: #1191 and #1224swift_interop_hint
aspect hint insteadapple_common.Objc
provider is handled (e.g. bazelbuild/rules_swift@d68b214)module.compatibility_level
was increased: #1214bazel_dep.max_compatibility_level = 2
instead of bumping your minimum supported version of rules_swiftswift.disable_system_index
feature is now enabled by default: #1252swift.emit_symbol_graph
feature: #1229swift_symbol_graph_extract
ruleswift.use_response_files
feature: #1275swift.bundled_xctests
feature: #1272swift_usage_aspect
andSwiftUsageInfo
from rules_swift into rules_apple: #1223-index-store-path
flag while also using theswift.index_while_building
is no longer supported: #1248swiftinterface
andswiftmodule
inswift_import
: #1253Deprecations
swift.bzl
andproto.bzl
files: #1231, #1236, and #1255load
statements as theswift.bzl
file will be removed in the next major releaseOther changes
swift_symbol_graph_extract
rule: #772, #1195, #1246, #1270, and #1271fdo_instrument_order_file
feature: #1251swift.add_target_name_to_output
feature, which allows multiple targets in a package to produce the same module name in the same build: #1098 and #1217swift.thin_lto
andswift.full_lto
features to enable LTO: #1208swift.propagate_generated_module_map
feature to propagate the generated module map: #1212swift.headers_always_action_inputs
feature which causes all headers to always be included as inputs toSwiftCompile
actions, even when using explicit modules: #1249.swiftinterface
file into a.swiftmodule
: #1250swift_test
targets that generates a JUnit-style XML log at the path in theXML_OUTPUT_PATH
environment variable defined by Bazel: #1222, #1242, #1263, and #1273discover_tests
attribute toswift_test
: #1259, #1266, #1273, and #1274swift_common.get_toolchain
helper function: #1226, #1257, and #1258resource_set
is now defined forSwiftCompile
actions: #1241.swiftmodule
directories to the search path: #1245swift_{binary,test}
targets only containing Swift in theirsrcs
: #1269_swift_proto_compile
: #1283This release is compatible with Bazel 6.x LTS, 7.x LTS, and 8.x rolling releases.
MODULE.bazel Snippet
Workspace Snippet
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.