stub out your gc without hacking on druntime
Hiemlick Hiemlicker via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jun 29 21:07:03 PDT 2016
On Tuesday, 11 June 2013 at 12:13:05 UTC, Adam D. Ruppe wrote:
> On Tuesday, 11 June 2013 at 03:08:36 UTC, H. S. Teoh wrote:
>> [...]
>
> Yea, that's the idea here. Like Simen said, if these were
> errors, your program wouldn't even start, so noop is better.
> Though gc_init should call thread_init, which I didn't do here.
> Without that call, stack traces on exceptions will segfault on
> linux.
>
> [...]
Can one use this to hook in to any phobo's lib functions? What
about simply "sniffing" the functions? Can we call the original
functions somehow?
More information about the Digitalmars-d
mailing list