The implementation of swift_test is becoming more complex and diverging from just a simple binary now that test discovery is supported, so it makes more sense to have these rules live in separate files and move common functionality into linking.bzl instead.
PiperOrigin-RevId: 430970577
(cherry picked from commit 9ab07198f2f678451ce627749d9fc90fa441d59d)
The implementation of
swift_test
is becoming more complex and diverging from just a simple binary now that test discovery is supported, so it makes more sense to have these rules live in separate files and move common functionality intolinking.bzl
instead.PiperOrigin-RevId: 430970577 (cherry picked from commit 9ab07198f2f678451ce627749d9fc90fa441d59d)