Commit Graph

2 Commits

Author SHA1 Message Date
Dmitri Hrybenko
af9515d754 Break a circular dependency between SwiftShims and the Darwin module
stdint.h and stddef.h are shipped with CLang, but they not included in
Clang's module.map, which causes Clang to import libc versions instead
(and Clang's stdint.h is dispatching to libc).  This was causing
hard-to-debug transient failures during incremental rebuilds, like this:

error: module file was created by an older version of the compiler: .../Darwin.swiftmodule

Swift SVN r23230
2014-11-11 02:26:06 +00:00
Dave Abrahams
b108945c46 [stdlib] Break up shims.h
More things are going to be declared in shims, in part to reduce the use
of @asmname, and we'll want to keep this organized.

Swift SVN r22574
2014-10-07 21:40:45 +00:00