How to stop DMD from exploding the executable file size?

ryuukk_ ryuukk.dev at gmail.com
Mon Sep 5 18:30:05 UTC 2022


Thanks to @Herringway on IRC, he made me check dmd/ldc linker 
invocation and check the difference


LDC seem to add:

```
     /OPT:REF
     /OPT:ICF
```

Adding both and now DMD produce small file! (1mb vs 10mb before)

Can we have them enabled by default?


More information about the Digitalmars-d mailing list