Skip to content

Commit 6c10833

Browse files
committed
Fix module issue
1 parent 88dc8c8 commit 6c10833

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libcxx/include/module.modulemap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,10 @@ module std [system] {
819819
module sort_heap { header "__algorithm/sort_heap.h" }
820820
module sort { header "__algorithm/sort.h" }
821821
module stable_partition { header "__algorithm/stable_partition.h" }
822-
module stable_sort { header "__algorithm/stable_sort.h" }
822+
module stable_sort {
823+
header "__algorithm/stable_sort.h"
824+
export std.memory.unique_temporary_buffer // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108
825+
}
823826
module swap_ranges { header "__algorithm/swap_ranges.h" }
824827
module three_way_comp_ref_type { header "__algorithm/three_way_comp_ref_type.h" }
825828
module transform { header "__algorithm/transform.h" }

0 commit comments

Comments
 (0)