Closed edi33416 closed 1 year ago
I don't know what the goal is here but looks like a template emission bug.
We noticed that our fork is now failing to build with gdc and I wanted to check if it reproduces in upstream as well.
Possibly fixed by just emitting all template instances.
How can you do that with gdc
? Does it have a switch similar to dmd's -allinst
?
I found this on the Wiki:
-femit-templates
Apparently it's -fall-instantiations
now.
Found it through gdc --help=d
, in case someone else needs it
It seems that emitting all the template instances doesn't solve the issue
@WebFreak001 it seems that the gdmd
build is still failing. Any ideas why?
hm the gdmd test seems a little weird, it installs the latest dmd and then uses gdc.
An issue here could be that the std.experimental.allocator library is old and potentially buggy.
it seems allinstantiations works on gdc-12, so closing this because of #877
I don't know what the goal is here but looks like a template emission bug.
Possibly fixed by just emitting all template instances.