On Saturday, 23 December 2023 at 20:42:37 UTC, Etienne Cimon
wrote:
I'm having a problem implementing the `new` keyword, so that I
can start importing more libraries with minimal change.
However, LDC calls .object._d_newitemT!T from the original
druntime - which I need for compile-time function execution,
but my implementation in `module object` doesn't override it in
the compiler and the original implementation tries import
core.stdc.time which errors out in wasm (with good reasons). Is
there a compiler flag than I can use to override module
templates?
_d_newitemT!T is fairly new, what compiler version are you using?
-Johan