Modules are coming.
How to Use C++20 Modules with Bazel and Clang
by Ryan Burn
From the article:
Modules are a feature added to C++20 that aims to provide better encapsulation and faster build times. While modules are not fully supported by compilers and probably not ready for use in production code, Clang’s support is fairly usable.
In this guide, I’ll show you how to use modules with Clang and the Bazel build system by making use of the project github.com/rnburn/rules_cc_module.
Let’s look at it works on a simple hello world program...
Add a Comment
Comments are closed.