std_darwin.modulemap: Remove headers for MacOSX15.0.sdk

Manually curating the modulemap is far from ideal because it requires
updates for changes in the libc++ library shipped with the SDK, which
must also work across all supported SDK versions. An alternative would
be to locate the modulemap shipped with libc++ during configuration
time, copy it and dynamically modify its contents to suit our needs.
This commit is contained in:
Jonas Hahnfeld 2024-06-21 08:31:05 +02:00 committed by jenkins
parent 2f17f4b4eb
commit bb6c527ccc

View File

@ -450,10 +450,6 @@ module std_inttypes_h [system] {
export * export *
} }
// <iso646.h> provided by compiler. // <iso646.h> provided by compiler.
module std_limits_h [system] {
header "limits.h"
export *
}
module std_locale_h [system] { module std_locale_h [system] {
header "locale.h" header "locale.h"
export * export *
@ -462,10 +458,7 @@ module std_math_h [system] {
header "math.h" header "math.h"
export * export *
} }
module std_setjmp_h [system] { // <setjmp.h> provided by C library.
header "setjmp.h"
export *
}
// <signal.h> provided by C library. // <signal.h> provided by C library.
// FIXME: <stdalign.h> is missing. // FIXME: <stdalign.h> is missing.
// <stdarg.h> provided by compiler. // <stdarg.h> provided by compiler.
@ -522,71 +515,26 @@ module std_wctype_h [system] {
// Experimental C++ standard library interfaces // Experimental C++ standard library interfaces
module std_experimental [system] { module std_experimental [system] {
module deque {
header "experimental/deque"
export *
}
module forward_list {
header "experimental/forward_list"
export *
}
module iterator { module iterator {
header "experimental/iterator" header "experimental/iterator"
export * export *
} }
module list {
header "experimental/list"
export *
}
module map {
header "experimental/map"
export *
}
module memory_resource {
header "experimental/memory_resource"
export *
}
module propagate_const { module propagate_const {
header "experimental/propagate_const" header "experimental/propagate_const"
export * export *
} }
module regex {
header "experimental/regex"
export *
}
module simd { module simd {
header "experimental/simd" header "experimental/simd"
export * export *
} }
module set {
header "experimental/set"
export *
}
module string {
header "experimental/string"
export *
}
module type_traits { module type_traits {
header "experimental/type_traits" header "experimental/type_traits"
export * export *
} }
module unordered_map {
header "experimental/unordered_map"
export *
}
module unordered_set {
header "experimental/unordered_set"
export *
}
module utility { module utility {
header "experimental/utility" header "experimental/utility"
export * export *
} }
module vector {
header "experimental/vector"
export *
}
module __config { module __config {
private textual header "experimental/__config" private textual header "experimental/__config"
export * export *
@ -1983,7 +1931,6 @@ module std_private_type_traits_nat [system
module std_private_type_traits_negation [system] { header "__type_traits/negation.h" } module std_private_type_traits_negation [system] { header "__type_traits/negation.h" }
module std_private_type_traits_noexcept_move_assign_container [system] { header "__type_traits/noexcept_move_assign_container.h" } module std_private_type_traits_noexcept_move_assign_container [system] { header "__type_traits/noexcept_move_assign_container.h" }
module std_private_type_traits_operation_traits [system] { header "__type_traits/operation_traits.h" } module std_private_type_traits_operation_traits [system] { header "__type_traits/operation_traits.h" }
module std_private_type_traits_predicate_traits [system] { header "__type_traits/predicate_traits.h" }
module std_private_type_traits_promote [system] { header "__type_traits/promote.h" } module std_private_type_traits_promote [system] { header "__type_traits/promote.h" }
module std_private_type_traits_rank [system] { header "__type_traits/rank.h" } module std_private_type_traits_rank [system] { header "__type_traits/rank.h" }
module std_private_type_traits_remove_all_extents [system] { header "__type_traits/remove_all_extents.h" } module std_private_type_traits_remove_all_extents [system] { header "__type_traits/remove_all_extents.h" }
@ -2056,7 +2003,6 @@ module std_private_utility_swap [system] {
header "__utility/swap.h" header "__utility/swap.h"
export std_private_type_traits_is_swappable export std_private_type_traits_is_swappable
} }
module std_private_utility_terminate_on_exception [system] { header "__utility/terminate_on_exception.h" }
module std_private_utility_to_underlying [system] { header "__utility/to_underlying.h" } module std_private_utility_to_underlying [system] { header "__utility/to_underlying.h" }
module std_private_utility_unreachable [system] { header "__utility/unreachable.h" } module std_private_utility_unreachable [system] { header "__utility/unreachable.h" }