rules_swift_package_manager icon indicating copy to clipboard operation
rules_swift_package_manager copied to clipboard

Support using the Swift toolchain used by Bazel with `swiftbin`

Open cgrindel opened this issue 2 years ago • 1 comments

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.

cgrindel avatar Nov 23 '22 14:11 cgrindel

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.

cgrindel avatar Jan 11 '23 21:01 cgrindel