Comments (1)
Since this type is already encapsulated within the module perhaps its OK for the names to collide?
FWIW I reallly don't like MainModule
as a name, but that is a different issue.
Presumably it might even be useful to have them all called the same thing if you are working with multiple modules.
If we do decide that unique names within the module are a good idea how about using the -o
filename as the default?
e.g. ./emcc -o foo.js
would default to EXPORT_NAME
or foo
?
Also, is this issue a duplicate of #20952?
from emscripten.
Related Issues (20)
- Generic error if FS.createPreloadedFile parent doesn't exist HOT 4
- Randomly occurring libpng bug in png_read_IDAT_data HOT 12
- Cross Origin pthread worker HOT 33
- Uncaught Error: No runtime abstraction layer installed HOT 1
- Error while compiling static library with emscripten HOT 1
- How to directly get context of WebGL2 from canvas when building with "-sOFFSCREENCANVAS_SUPPORT=1 -sOFFSCREEN_FRAMEBUFFER=1" flags?
- ASYNCIFY and INCOMING_MODULE_JS_API HOT 3
- thread wasm64 HOT 2
- Multithreading worker issue HOT 3
- Improve support for keyboard input on mobile browsers HOT 4
- emcc/wasm-ld fails autoconf sanity check HOT 3
- Error after setting GL_UNPACK_ROW_LENGTH HOT 10
- emconfigure sets both, CROSS_COMPILE and CC to absolute path, which seems to fail with man projects HOT 2
- Dynamic linking broken in 3.1.57
- `alignof(long double) == 8` even though `sizeof(long double) == 16`—why? HOT 2
- `FS.stat` has inconsistent `[a/m/c]time` values in WasmFS HOT 4
- pthread workers fail to run when ENVIRONMENT=worker only HOT 1
- Component model support in Emscripten HOT 1
- --emit-tsd does not output function argument names HOT 2
- Can't preload files/shared libs in service worker due to lack of XHR [PR OPEN]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emscripten.