https://issues.dlang.org/show_bug.cgi?id=16962
--- Comment #16 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/tools https://github.com/dlang/tools/commit/b6ec807712a452a47f712364b86d02335af2a93f Fix Issue 16962 - rdmd --build-only --force -c main.d fails: ./main: No such file or directory The actual fix was done by the revert. This simply adds a test. https://github.com/dlang/tools/commit/bfbcd086bad634066ba142964823f1689e879aaf Merge pull request #207 from CyberShadow/issue-16962 rdmd fixes (issues 14296, 16962 and 16978) merged-on-behalf-of: Martin Nowak <c...@dawg.eu> --