Currently DMD -H option generates .di files which include all version guards in module with code included. This is potentially error-prone for library users because they have to compile libraries with exactly same build flags as the provider. My proposal is to include additional compile switch which would produce .di files with version guards evaluated.
Comment #1 by robert.schadek — 2024-12-13T18:07:10Z