What does 'inline' mean?
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Jun 8 14:45:46 UTC 2020
On Tue, Jun 09, 2020 at 12:09:04AM +1000, Manu via Digitalmars-d wrote:
[...]
> I don't want a binary full of code that shouldn't be there. It's
> very important to be able to control what code is in your binaries.
> If it's not referenced, it doesn't exist.
[...]
Could you just use LTO for this? LDC's LTO, for example, lets the
linker discard unreferenced symbols.
T
--
A mathematician is a device for turning coffee into theorems. -- P. Erdos
More information about the Digitalmars-d
mailing list