|
217 | 217 | </ItemGroup> |
218 | 218 | <!-- for the jiterpreter --> |
219 | 219 | <ItemGroup> |
| 220 | + <EmccExportedRuntimeMethod Include="wasmExports" /> |
| 221 | + |
220 | 222 | <EmccExportedFunction Include="_fmod" /> |
221 | 223 | <EmccExportedFunction Include="_atan2" /> |
222 | 224 | <EmccExportedFunction Include="_fma" /> |
|
277 | 279 | <EmccStackSize>5MB</EmccStackSize> |
278 | 280 | </PropertyGroup> |
279 | 281 | <ItemGroup> |
| 282 | + <_EmccLinkFlags Include="-Wno-unused-command-line-argument" /> |
280 | 283 | <_EmccLinkFlags Include="-s INITIAL_MEMORY=$(EmccInitialHeapSize)" /> |
281 | 284 | <_EmccLinkFlags Include="-s STACK_SIZE=$(EmccStackSize)" /> |
282 | 285 | <_EmccCommonFlags Condition="'$(WasmEnableThreads)' == 'true'" Include="-s USE_PTHREADS=1" /> |
|
294 | 297 | <_EmccLinkFlags Include="--source-map-base http://example.com" /> |
295 | 298 | <_EmccLinkFlags Include="-s WASM_BIGINT=1" /> |
296 | 299 | <_EmccLinkFlags Include="-s EXPORT_NAME="'createDotnetRuntime'"" /> |
297 | | - <_EmccLinkFlags Include="-s MODULARIZE=1"/> |
| 300 | + <_EmccLinkFlags Include="-s MODULARIZE=1" /> |
298 | 301 |
|
299 | 302 | <_EmccLinkFlags Include="-s ENVIRONMENT="web,webview,worker,node,shell"" /> |
300 | 303 | <!-- remove -Wno-limited-postlink-optimizations once below issue is fixed |
|
380 | 383 | <PInvokeTableFile>$(ArtifactsObjDir)wasm/pinvoke-table.h</PInvokeTableFile> |
381 | 384 | <InterpToNativeTableFile>$(ArtifactsObjDir)wasm/wasm_m2n_invoke.g.h</InterpToNativeTableFile> |
382 | 385 |
|
383 | | - <CMakeConfigurationEmccFlags Condition="'$(Configuration)' == 'Debug'">-g -Os -s -DDEBUG=1 -DENABLE_AOT_PROFILER=1 -DENABLE_BROWSER_PROFILER=1</CMakeConfigurationEmccFlags> |
| 386 | + <CMakeConfigurationEmccFlags Condition="'$(Configuration)' == 'Debug'">-g -Os -DDEBUG=1 -DENABLE_AOT_PROFILER=1 -DENABLE_BROWSER_PROFILER=1</CMakeConfigurationEmccFlags> |
384 | 387 | <CMakeConfigurationEmccFlags Condition="'$(Configuration)' == 'Release'">-Oz -DENABLE_BROWSER_PROFILER=1</CMakeConfigurationEmccFlags> |
385 | 388 |
|
386 | 389 | <CMakeConfigurationLinkFlags Condition="'$(Configuration)' == 'Debug'" >$(CMakeConfigurationEmccFlags) -s ASSERTIONS=1 </CMakeConfigurationLinkFlags> |
|
498 | 501 | DestinationFolder="$(MicrosoftNetCoreAppRuntimePackNativeDir)" |
499 | 502 | SkipUnchangedFiles="true" /> |
500 | 503 |
|
501 | | - <Copy SourceFiles="$(NativeBinDir)dotnet.native.worker.js" |
| 504 | + <Copy SourceFiles="$(NativeBinDir)dotnet.native.worker.mjs" |
502 | 505 | DestinationFolder="$(MicrosoftNetCoreAppRuntimePackNativeDir)" |
503 | | - Condition="Exists('$(NativeBinDir)dotnet.native.worker.js')" |
| 506 | + Condition="Exists('$(NativeBinDir)dotnet.native.worker.mjs')" |
504 | 507 | SkipUnchangedFiles="true" /> |
505 | 508 |
|
506 | 509 | <Copy SourceFiles="$(NativeBinDir)dotnet.native.js.symbols" |
|
0 commit comments