[libcxx-commits] [libcxx] [libc++] Suppress reserved module name warning for `module std` (PR #228632)
Sharadh Rajaraman via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 16 06:10:02 PDT 2026
sharadhr wrote:
> Is there no way to tell clang "build the std module" though?
There is `-fmodules-driver` but I don't think it is meant to be used in production—it recompiles `std` for every module unit that `import`s it.
The fundamental design decision of `std.cppm` is that **users are expected to write** `-fmodule-output=... -o std.o` or `--precompile std.cppm -o std.pcm`.
https://github.com/llvm/llvm-project/pull/228632
More information about the libcxx-commits
mailing list