rules_swift_package_manager
rules_swift_package_manager copied to clipboard
Support using the Swift toolchain used by Bazel with `swiftbin`
Right now, the code checks the PATH for a Swift binary. We should be using the Swift toolchain binary as defined in a repository's Bazel workspace.
For clarification, this is only relevant for swift_package and local_swift_package. The Gazelle extension could add a flag that allows a user to specify a Swift binary to use.