diff --git a/libcxx/include/module.modulemap b/libcxx/include/module.modulemap --- a/libcxx/include/module.modulemap +++ b/libcxx/include/module.modulemap @@ -2,8 +2,9 @@ // since __config may be included from C headers which may create an // include cycle. module std_config [system] [extern_c] { - textual header "__config" - textual header "__config_site" + header "__config" + header "__config_site" + export * } module std [system] { diff --git a/libcxx/utils/libcxx/test/params.py b/libcxx/utils/libcxx/test/params.py --- a/libcxx/utils/libcxx/test/params.py +++ b/libcxx/utils/libcxx/test/params.py @@ -76,7 +76,6 @@ actions=lambda modules: [ AddFeature('modules-build'), AddCompileFlag('-fmodules'), - AddCompileFlag('-Xclang -fmodules-local-submodule-visibility'), ] if modules else []), Parameter(name='enable_exceptions', choices=[True, False], type=bool, default=True,