Skip to main content
Bazel Documentation home page
HEAD
English
Search...
⌘K
Ask AI
Module Registry
Blog
Github
Search...
Navigation
swift
About Bazel
Getting started
User guide
Reference
Extending
Community
Why Bazel?
Intro to Bazel
Why Bazel?
Bazel Vision
Bazel roadmap
FAQ
Build system basics
Basics
Why a Build System?
Task-Based Build Systems
Artifact-Based Build Systems
Distributed Builds
Dependency Management
Hermeticity
On this page
Members
copts
swift
A configuration fragment for Swift tools.
Members
copts
copts
list swift.copts()
A list of compiler options that should be passed to
swiftc
when compiling Swift code.
⌘I
Assistant
Responses are generated using AI and may contain mistakes.