So, I've been trying to static build the following code:
import Foundation
print("Hello planet".contains("planet"));
using swiftc file.swift -static-stdlib -emit-executable
And i get a long linker error about undefined references in libfoundation: Hastebin: Send and Save Text or Code Snippets for Free | Toptal®
Tried on 5.3 toolchain, both Ubuntu 18.04 and Archlinux AUR toolchain (swift-bin 5.3).