Back to Bazel

Swift

docs/versions/6.0.0/rules/lib/swift.mdx

9.1.0631 B
Original Source
<html devsite> <head> <meta name="project_path" value="/_project.yaml"> <meta name="book_path" value="/versions/6.0.0/_book.yaml"> </head> <body> <h1 class="page-title" id="modules.swift">swift</h1> <!-- {% raw %} -->

A configuration fragment for Swift tools.

<h2>Members</h2> <ul> <li> <a href="#copts">copts</a> </li> </ul>
  <h2 id="copts">copts</h2>
    <p><pre class="rule-signature"><a class="anchor" href="list.html">list</a> swift.copts()</pre></p>

A list of compiler options that should be passed to <code>swiftc</code> when compiling Swift code.
</body> </html> <!-- {% endraw %} -->