[libcxx-commits] [libcxx] [libc++] Suppress reserved module name warning for `module std` (PR #228632)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Oct 20 01:40:01 PDT 2026
philnik777 wrote:
> > Do you have any reference to support that claim?
>
> As mentioned above, the [Clang documentation](https://clang.llvm.org/docs/StandardCPlusPlusModules.html#preload-the-std-module) suggests:
>
> > ```
> > clang++ -std=c++23 <path-to-std-module>/std.cppm -c -o std.o -fmodule-output=std.pcm
> > ```
The sentence before that is "But even without build system’s support, end users can make this experiment to have a feeling about the benefits of introduce std module to their projects." which sounds to me like this isn't how people are supposed to build the std module, but rather that this is a relatively simple way to experiment with things even if the build system doesn't have support yet.
https://github.com/llvm/llvm-project/pull/228632
More information about the libcxx-commits
mailing list