Skip to content

Update ucrt.modulemap for Windows SDK 10.0.26100 #80144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 25, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 43 additions & 21 deletions stdlib/public/Platform/ucrt.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,55 @@
//
//===----------------------------------------------------------------------===//

module _complex [system] {
// The following modules have to be standalone top-level modules to deal with
// version 10.0.26100 of the Windows SDK.
module _malloc [system] [no_undeclared_includes] {
use corecrt
header "malloc.h"
export *
}

module _complex [system] [no_undeclared_includes] {
use corecrt
use std
header "complex.h"
export *
}

module _fenv [system] [no_undeclared_includes] {
use corecrt
use _float
header "fenv.h"
export *
}

module _float [system] [no_undeclared_includes] {
use corecrt
header "float.h"
export *
}

module _stddef [system] [no_undeclared_includes] {
header "stddef.h"
export *
}

module _stdlib [system] [no_undeclared_includes] {
use corecrt
header "stdlib.h"
export *
}

module ucrt [system] {
export _malloc

module C {
export _complex
export _fenv
export _float
export _stddef
export _stdlib

module ctype {
header "ctype.h"
export *
Expand All @@ -27,16 +69,6 @@ module ucrt [system] {
export *
}

module fenv {
header "fenv.h"
export *
}

module float {
header "float.h"
export *
}

module inttypes {
header "inttypes.h"
export *
Expand All @@ -57,11 +89,6 @@ module ucrt [system] {
export *
}

module stddef {
header "stddef.h"
export *
}

module stdio {
header "stdio.h"
export *
Expand Down Expand Up @@ -132,11 +159,6 @@ module ucrt [system] {
export *
}

module malloc {
header "malloc.h"
export *
}

module minmax {
header "minmax.h"
export *
Expand Down