1
Vote

Cannot Import Global Modules

description

error: no such module 'Foundation'
import Foundation

comments

tinysun wrote Apr 20 at 11:33 AM

Foundation module is not ported for this. (MinGW-w64 port)
But you can taste the Cygwin port (https://github.com/tinysun212/swift-windows/releases/tag/swift-cygwin-20160913), it has the Foundation and the Package module.