Using dub package provided by dmd to use DMD as a library does not produce incremental compilation, forcing the user to recompile/link the binaries every time it compiles.
@ljmf00 updated dlang/dmd pull request #13712 "fix(dub): Make config.d executable to incremental compilation" fixing this issue: - fix(dub): Make config.d executable to incremental compilation Fix issue 22821. Signed-off-by: Luís Ferreira <contact@lsferreira.net> https://github.com/dlang/dmd/pull/13712
dlang/dmd pull request #13712 "fix(dub): Make config.d executable to incremental compilation" was merged into master: - f309925c8802ae20dce1aeb3f6b4c9fe4b4e9f1c by Luís Ferreira: fix(dub): Make config.d executable to incremental compilation Fix issue 22821. Signed-off-by: Luís Ferreira <contact@lsferreira.net> https://github.com/dlang/dmd/pull/13712