Skip to content

Commit a0fea45

Browse files
committed
Windows: further improve module maps
Further enhance the modulemaps. This is needed to support the use of the ucrt for the builtins as used in the ClangImporter unit tests.
1 parent ae8718f commit a0fea45

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

stdlib/public/Platform/ucrt.modulemap

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,14 @@ module ucrt [system] {
9999
}
100100
}
101101

102-
module io {
103-
header "corecrt_io.h"
102+
module corecrt {
103+
header "corecrt.h"
104104
export *
105+
106+
module io {
107+
header "corecrt_io.h"
108+
export *
109+
}
105110
}
106111
}
107112

stdlib/public/Platform/visualc.modulemap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ module visualc [system] {
2121
export *
2222
}
2323

24+
module vcruntime {
25+
header "vcruntime.h"
26+
export *
27+
}
28+
2429
module stdint {
2530
header "stdint.h"
2631
export *

0 commit comments

Comments
 (0)