[libcxx-commits] [PATCH] D145117: [libc++] Reintroduce workaround for stdint re-export on Darwin

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 2 09:39:00 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG25bd6fa5a08e: [libc++] Reintroduce workaround for stdint re-export on Darwin (authored by ldionne).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145117/new/

https://reviews.llvm.org/D145117

Files:
  libcxx/include/module.modulemap.in


Index: libcxx/include/module.modulemap.in
===================================================================
--- libcxx/include/module.modulemap.in
+++ libcxx/include/module.modulemap.in
@@ -71,6 +71,10 @@
     module stdint_h {
       header "stdint.h"
       export *
+      // FIXME: This module only exists on OS X and for some reason the
+      // wildcard above doesn't export it. Removing this breaks the tests
+      // for C compatibility headers in C++17 mode with modules enabled.
+      export Darwin.C.stdint
     }
     module stdio_h {
       // <stdio.h>'s __need_* macros require textual inclusion.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145117.501900.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230302/56862aff/attachment.bin>


More information about the libcxx-commits mailing list