You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO:root:generating system asset: is_vanilla.txt... (this will be cached in "/Users/fabien/.emscripten_cache/is_vanilla.txt" for subsequent builds)
INFO:root: - ok
WARNING:root:(Emscripten: settings file has changed, clearing cache)
INFO:root:(Emscripten: Running sanity checks)
WARNING:root:Assigning a non-existent settings attribute "BINARYEN_IMPRECISE"
WARNING:root: - did you mean one of BINARYEN_PASSES, BINARYEN_METHOD, BINARYEN_MEM_MAX?
WARNING:root: - perhaps a typo in emcc's -s X=Y notation?
WARNING:root: - (see src/settings.js for valid values)
( I understand that it looks like the issue you closed, but I have no error, just a result that is not working properly)
If I understand correctly, I need "SIDE_MODULE": 1, to generate only the small module. But it is not compatible with ALLOW_MEMORY_GROWTH.
It return those warnings :
WARNING:root:Assigning a non-existent settings attribute "BINARYEN_IMPRECISE"
WARNING:root: - did you mean one of BINARYEN_PASSES, BINARYEN_METHOD, BINARYEN_MEM_MAX?
WARNING:root: - perhaps a typo in emcc's -s X=Y notation?
WARNING:root: - (see src/settings.js for valid values)
VERBOSE is on, this generates a lot of output and can slow down compilation
I know this may seems lazy but : what's the correct command to reproduce the WasmFiddle code ? (and how to set the language target to C++14 and the optimisations to "s" ?)
That would be awesome to have a documentation about it.
The text was updated successfully, but these errors were encountered:
Both methods have some advantages and disadvantages. I hoped LLVM tools will reach emscripten functionally sooner, but atm plans are to use emscripten. If you like what llvm+binaryen tools produce, take existing service process.
This code
In the WasmFiddle return this functioning wasm :
This does a perfect job.
wasdk ez hello.c -o hello.js
returns :
( I understand that it looks like the issue you closed, but I have no error, just a result that is not working properly)
And produces this code :
So, I tried to write a configuration file :
If I understand correctly, I need
"SIDE_MODULE": 1,
to generate only the small module. But it is not compatible withALLOW_MEMORY_GROWTH
.It return those warnings :
I don't understand the first one since I did set it. Doesn't it goes into the compilerOptions ? The options are the ones from https://github.com/kripken/emscripten/blob/master/src/settings.js right ?
Then I realised by reading the source https://github.com/wasdk/wasdk/blob/master/src/wasdk.ts that only a few of those elements are possible. And that "BINARYEN_IMPRECISE=1" is a default.
In short : I'm a bit lost.
I know this may seems lazy but : what's the correct command to reproduce the WasmFiddle code ? (and how to set the language target to C++14 and the optimisations to "s" ?)
That would be awesome to have a documentation about it.
The text was updated successfully, but these errors were encountered: