Open brentleyjones opened 2 weeks ago
I can't think of a good way to determine if we are depending on rules_swift 2.0 or not, so right now this is unconditional. Ideally we would only make this change if transitively depending on rules_swift 2.0.
edit: Looks like with bzlmod we would be able to determine the version of rules_swift with https://bazel.build/rules/lib/builtins/bazel_module.html#version. Not much we can do in WORKSPACE, afaik.
Once rules_swift 2.0 is released I'll change the DNM commit to a proper bump, then we can merge this.
Needed for rules_swift 2.0. Only works with rules_swift 2.0+.