[swift-users] location of modules?

Max Howell max.howell at apple.com
Wed Feb 3 17:19:54 CST 2016


> This is more for the Linux side of things, more of a curiosity than anything.
> 
> Is there a place to put module maps and Swift modules, such as /usr/lib/modules? Or would they be kept in /usr/include?

The .swiftmodule and .so files should go in the standard include path:

     /usr/include/foo.swiftmodule
     /usr/include/foo.so

Or the compile toolchain won’t find them.


More information about the swift-users mailing list