On Mon, 20 Apr 2015 13:34:47 +0000, ketmar wrote:

> On Mon, 20 Apr 2015 09:22:17 -0400, Etienne wrote:
> 
>> I've been using a lot of CTFE in my libraries and this has had the side
>> effect of increasing my link time beyond 13 seconds. There's a pretty
>> big chunk of those symbols being exported that are used only for
>> evaluating mixins.
>> 
>> Would there be a way to specify something in the lines of `extern
>> (none):` or `intern:`?
> 
> i think you should make ER for this. it will be fine if there will be
> the way to tell compiler to skip code generation for some functions
> which used only in CTFE.

by the way, maybe it will be good to add `extern(CTFE)` too, so hdrgen 
can emit source code for such functions to .di file. i.e.

`extern(none)` -- don't generate code, don't emit to .di
`extern(CTFE)` -- don't generate code, emit to .di

Attachment: signature.asc
Description: PGP signature

Reply via email to