05. CS2040C Week 09+10+11
Swift
Compiler settings
We use swiftc 5.8.1
to compile your program with the following command:
$ swiftc -o {executable} -static-stdlib -module-cache-path .cache -O {files}
{files}
is a space-separated list of all files.{executable}
is the compiled executable.
File Extensions
Files with any of the following file extensions will be used: .swift
Additional information
Additional language-specific advice and information for many languages is available in the knowledge base