On Thursday, 15 July 2021 at 11:38:10 UTC, Adam D Ruppe wrote:
On Thursday, 15 July 2021 at 02:54:14 UTC, rikki cattermole
wrote:
If yes, it might be worth it to get rid of export as a keyword
out right in a DIP (as it introduces the possibility of linker
errors that would otherwise not need to exist).
No, that's a bad idea.
I fully agree; it's still very useful with `-fvisibility=hidden`
to only export what you really want (e.g., in order to quite
likely shrink the final size of executables and plugin libs
considerably) without the blunt export-everything method (which
is nice for libraries like druntime and Phobos).