On Friday, 13 November 2015 at 02:50:07 UTC, Daniel Murphy wrote:
You also need to modify root/rmem.d to actually use the GC as the allocator.

I should have known that it couldn't be that simple. Anyway, after doing so. Building druntime and phobos die with a segfault, but all dmd tests pass, except runnable/arrayop.d

Furthermore, I had to create a function called:

    extern (C) void* allocmemory(size_t m_size) {
        return GC.malloc(m_size);
    }


Reply via email to