C++ Logo

sg15

Advanced search

Re: [isocpp-sg15] Module metadata distributed with pre-built libraries

From: Daniel Ruoso <daniel_at_[hidden]>
Date: Thu, 23 May 2024 09:43:38 -0400
On Wed, May 22, 2024, 23:46 Chuanqi Xu <chuanqi.xcq_at_[hidden]> wrote:

> Do the format need to specify whether or not the build system should build
> the object part of modules?
>

I think the conversation we had on Tokyo setting the expectation that
there's always exactly one object built for a module implies that the
library *has* to ship that object.

Although previously we though the object part of modules should be part of
> that library, the libc++ devs seem not like the idea. Further, it might be
> understandable that other libraries don't want the object parts of the
> modules "muddy" their libraries.
>

I don't know what to say. The module is a part of the interface, therefore
it needs to have the objects made available to the user.

Requiring each project to build their own versions of the module objects
is, pardon my bluntness, nonsensical.

Daniel

Received on 2024-05-23 13:43:52