Skip to content

Commit e51331c

Browse files
authored
[libcxx] Export directory_iterator in module build (llvm#129195)
This is workaround for the link error like https://crbug.com/390537876. Might be related to llvm#120108 too.
1 parent 5d8b4ea commit e51331c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libcxx/include/module.modulemap

+5-1
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,11 @@ module std [system] {
12321232
module filesystem {
12331233
module copy_options { header "__filesystem/copy_options.h" }
12341234
module directory_entry { header "__filesystem/directory_entry.h" }
1235-
module directory_iterator { header "__filesystem/directory_iterator.h" }
1235+
module directory_iterator {
1236+
header "__filesystem/directory_iterator.h"
1237+
// This is a workaround for https://github.com/llvm/llvm-project/issues/120108.
1238+
export *
1239+
}
12361240
module directory_options { header "__filesystem/directory_options.h" }
12371241
module file_status { header "__filesystem/file_status.h" }
12381242
module file_time_type { header "__filesystem/file_time_type.h" }

0 commit comments

Comments
 (0)