_main no longer called?

2018-05-17 Thread dtippett52
I updated the latest incoming a couple of days ago and noticed that _main is no longer called in the generated .js file. (Currently testing Wasm) Is this intended? In my code I define _main manually in JavaScript. Thanks, David -- You received this message because you are subscribed to the

Re: _main no longer called?

2018-05-17 Thread Alon Zakai
One possible issue is that a while ago (a few months I think) we started to depend on static detection of main(). The reason is that knowing if it's present statically at compile time lets us optimize better, and also it overlaps with the onRuntimeInitialized JS callback which does basically the sa