Closed
Description
Related to #1717 would it be possible to implement support for constructors (__attribute__((constructor))
) in jerry's C library? I think that's where it needs to be implemented, in the jerry-asm.S
file.
Having support for constructors makes it easy to register modules independently of the main program, since all you have to do is compile in a module and it will be available at runtime without any additional code.