IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/swift
You can read about the migration, and let us know what you think.
Extensions >
API reference >
swift
swift
A configuration fragment for Swift tools.Members
copts
list swift.copts()A list of compiler options that should be passed to
swiftc
when compiling Swift code.