Sam Clegg

Results 1782 comments of Sam Clegg

Lets leave this one open then.

I'm generally supportive of this idea. However, I think there are several issues here: 1. The `#!` line only works on unix, not on windows 2. Not all folks will...

One approach I've thought of is that maybe we can infer that a #! is desirable if the output file has no extension at all. We might also want to...

> 1. Good point. Will the presence of it break windows? I don't have a windows computer to try it on. > 2. True. I like your idea of potentially...

I wonder if the freetype upgrade that is coming will help with this: https://github.com/emscripten-core/emscripten/pull/22585

If we were going to write such as stub wouldn't we want the promise to immediately reject (i.e. error)? I'd rather not add stub functions for symbols like this, and...

I think your request in reasonable. We can a stub like these ones: https://github.com/emscripten-core/emscripten/blob/9803070730e1fe8365eb44ac900c1d1751d1c2a6/src/library_async.js#L623-L625

Can you take a look at the specific additions to wasmImports? Can you perhaps share one or two of them? If now can you run the through c++filt? You might...

Can you confirm if this is still an issue with the latest versions of emscripten?

I managed to reproduce and simplified a little: main.c: ``` int main(int argc, char* argv[]) { return 0; } ``` catch.cpp: ``` #include "catch.hpp" ``` ``` $ em++ -flto -c...