mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When explicitly asked not to load the C++ standard library, Swift should not emit warnings for missing libstdc++. This fixes a compiler warning when building the Cxx module on Linux.
78 lines
1.0 KiB
Plaintext
78 lines
1.0 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 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 *
|
|
}
|