Skip to content

Commit

Permalink
support wasm umd
Browse files Browse the repository at this point in the history
  • Loading branch information
elringus committed Nov 11, 2021
1 parent e04877c commit 6807d5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mono/wasm/wasm.proj
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@
<_EmccCommonFlags Include="-s ALLOW_MEMORY_GROWTH=1" />
<_EmccCommonFlags Include="-s NO_EXIT_RUNTIME=1" />
<_EmccCommonFlags Include="-s FORCE_FILESYSTEM=1" />
<_EmccCommonFlags Include="-s &quot;EXPORTED_RUNTIME_METHODS=['ccall', 'FS_createPath', 'FS_createDataFile', 'cwrap', 'setValue', 'getValue', 'UTF8ToString', 'UTF8ArrayToString', 'addFunction']&quot;" />
<_EmccCommonFlags Include="-s &quot;EXPORTED_RUNTIME_METHODS=['ccall', 'FS_createPath', 'FS_createDataFile', 'cwrap', 'setValue', 'getValue', 'UTF8ToString', 'UTF8ArrayToString', 'addFunction', 'MONO', 'BINDING']&quot;" />
<_EmccCommonFlags Include="-s &quot;EXPORTED_FUNCTIONS=['_putchar']&quot;" />
<_EmccCommonFlags Include="--source-map-base http://example.com" />

<_EmccCommonFlags Include="-s MODULARIZE=1" Condition="'$(WasmEnableES6)' != 'false'" />
<_EmccCommonFlags Include="-s EXPORT_ES6=1" Condition="'$(WasmEnableES6)' != 'false'" />
<_EmccCommonFlags Include="-s MODULARIZE=1" />
<_EmccCommonFlags Include="-s ENVIRONMENT=web" />
</ItemGroup>

<ItemGroup Condition="'$(OS)' != 'Windows_NT'">
Expand Down

0 comments on commit 6807d5c

Please sign in to comment.