Files
swift-mirror/test/Interop/Cxx/stdlib/Inputs/module.modulemap
Alex Lorenz 9c44e01e07 [cxx-interop][stdlib] windows - use new hash inline functions like other platforms
The PR https://github.com/swiftlang/swift/pull/77857 added windows-specific workaround for https://github.com/swiftlang/swift/issues/77856, that happened after https://github.com/swiftlang/swift/pull/77843. Unfortunately this caused a new issue on windows - https://github.com/swiftlang/swift/issues/78119. It looks like windows is suffering from a similar serialization issue as libstdc++, although its even more complex as the callAsFunction is not only a derived function from a base class, the base class although has a static call operator. In any case, the libstdc++ callAsFunction deserialization fix should align with the static operator () deserialization too, so for now make windows use the same workaround as other platforms to avoid the deserialization crash (77856).

This change was tested on i686 windows too, ensuring that IR verifier crash no longer happens
2024-12-12 23:17:17 -08:00

84 lines
1.1 KiB
Plaintext

module StdNumeric {
header "std-numeric.h"
requires cplusplus
export *
}
module StdVector {
header "std-vector.h"
requires cplusplus
export *
}
module StdSpan {
header "std-span.h"
requires cplusplus
export *
}
module StdMap {
header "std-map.h"
requires cplusplus
export *
}
module StdOptional {
header "std-optional.h"
requires cplusplus
export *
}
module StdSet {
header "std-set.h"
requires cplusplus
export *
}
module StdString {
header "std-string.h"
requires cplusplus
export *
}
module StdStringAndVector {
header "std-string-and-vector.h"
requires cplusplus
export *
}
module StdStringView {
header "std-string-view.h"
requires cplusplus
export *
}
module StdPair {
header "std-pair.h"
requires cplusplus
export *
}
module MsvcUseVecIt {
header "msvc-std-vector-it.h"
requires cplusplus
export *
}
module StdUniquePtr {
header "std-unique-ptr.h"
requires cplusplus
export *
}
module StdFunction {
header "std-function.h"
requires cplusplus
export *
}
module NoCXXStdlib {
header "no-cxx-stdlib.h"
requires cplusplus
export *
}