So, I've been trying to static build the following code:
import Foundation print("Hello planet".contains("planet"));
swiftc file.swift -static-stdlib -emit-executable
And i get a long linker error about undefined references in libfoundation: https://hastebin.com/ritomoyehe.lua
Tried on 5.3 toolchain, both Ubuntu 18.04 and Archlinux AUR toolchain (swift-bin 5.3).