diff options
author | Zoltan Varga <vargaz@gmail.com> | 2020-02-11 23:08:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 23:08:49 +0300 |
commit | eb85a108a33ba86ffd184689b62ac1f7250c9818 (patch) | |
tree | 88efd170ff10b46b5b6ac5a085b34c8ee188f4db /sdks | |
parent | b260b327feb48a069144949667c8e5f0978c9385 (diff) |
[wasm] Pass direct-pinvoke to the AOT compiler. (#18775)
Diffstat (limited to 'sdks')
-rw-r--r-- | sdks/wasm/packager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdks/wasm/packager.cs b/sdks/wasm/packager.cs index c0cf19eb7bb..8f997a610db 100644 --- a/sdks/wasm/packager.cs +++ b/sdks/wasm/packager.cs @@ -854,7 +854,7 @@ class Driver { ninja.WriteLine ("wasm_strip = $emscripten_sdkdir/upstream/bin/wasm-strip"); // -s ASSERTIONS=2 is very slow ninja.WriteLine ($"emcc_flags = -Oz -g {emcc_flags}-s DISABLE_EXCEPTION_CATCHING=0 -s ASSERTIONS=1 -s WASM=1 -s ALLOW_MEMORY_GROWTH=1 -s BINARYEN=1 -s TOTAL_MEMORY=134217728 -s ALIASING_FUNCTION_POINTERS=0 -s NO_EXIT_RUNTIME=1 -s ERROR_ON_UNDEFINED_SYMBOLS=1 -s \"EXTRA_EXPORTED_RUNTIME_METHODS=[\'ccall\', \'cwrap\', \'setValue\', \'getValue\', \'UTF8ToString\']\" -s \"EXPORTED_FUNCTIONS=[\'___cxa_is_pointer_type\', \'___cxa_can_catch\']\" -s \"DEFAULT_LIBRARY_FUNCS_TO_INCLUDE=[\'setThrew\', \'memset\']\""); - ninja.WriteLine ($"aot_base_args = llvmonly,asmonly,no-opt,static,direct-icalls,deterministic,{aot_args}"); + ninja.WriteLine ($"aot_base_args = llvmonly,asmonly,no-opt,static,direct-icalls,direct-pinvoke,deterministic,{aot_args}"); // Rules ninja.WriteLine ("rule aot"); |