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
[wasm] Fix regressed file sizes for blazor (dotnet#92664)
* [wasm] Add getter for __indirect_function_table
.. so that can work even if it gets renamed during minimization.
* [wasm] build: Revert to older behavior for WasmNativeStrip
The earlier change was done in 678fd6a,
which changed to pass `-g` to the link step also. But that resulted in
increased native file sizes.
Changed sizes for the `minimum blazor template - publish` scenario:
```
| Last rc1 run | With the change
----------------------------------------------------------|----------------- |------------------
SOD - Minimum Blazor Template - Publish |8590723.000 bytes |7889806.000 bytes
Total Uncompressed _framework |4304274.000 bytes |4202273.000 bytes
pub/wwwroot/_framework/dotnet.js |35722.000 bytes |35838.000 bytes
pub/wwwroot/_framework/dotnet.native.8.0.0-VERSION.js |239307.000 bytes |134566.000 bytes
pub/wwwroot/_framework/dotnet.native.wasm |1174394.000 bytes |1148841.000 bytes
pub/wwwroot/_framework/dotnet.runtime.8.0.0-VERSION.js |221356.000 bytes |221712.000 bytes
```
(cherry picked from commit ae93e81)
* [wasm] cleanup corresponding tests
(cherry picked from commit 0207d60)
* [wasm] Remove WasmNativeStrip from wasm.proj as it will have no effect
(cherry picked from commit 91379dd)
* disable non-wasm perf builds
* address feedback from Katelyn Gadd
* address review feedback
* remove debug bits
* Revert "address review feedback"
This reverts commit 68e954d.
This caused tests to fail with:
```
fail: [out of order message from the browser]: http://127.0.0.1:36071/_framework/dotnet.runtime.js 2:12344 "MONO_WASM: onRuntimeInitializedAsync() failed" TypeError: t.getWasmIndirectFunctionTable is not a function
at br (http://127.0.0.1:36071/_framework/dotnet.runtime.js:3:55253)
at zr (http://127.0.0.1:36071/_framework/dotnet.runtime.js:3:60544)
at http://127.0.0.1:36071/_framework/dotnet.runtime.js:3:214955
fail: [out of order message from the browser]: http://127.0.0.1:36071/_framework/dotnet.js 2:917 "MONO_WASM: TypeError: t.getWasmIndirectFunctionTable is not a function\n at br (http://127.0.0.1:36071/_framework/dotnet.runtime.js:3:55253)\n at zr (http://127.0.0.1:36071/_framework/dotnet.runtime.js:3:60544)\n at http://127.0.0.1:36071/_framework/dotnet.runtime.js:3:214955"
```
* lifting emscripten internals
* Update src/mono/wasm/runtime/jiterpreter-support.ts
* Update src/mono/wasm/runtime/jiterpreter-support.ts
* track changes
* Fix build
* workload-testing.targets: fix shared framework install when dotnet-none is already installed
* import ENVIRONMENT_IS_NODE
* fix build
---------
Co-authored-by: pavelsavara <pavel.savara@gmail.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
<!-- Default with nothing set: Build+relink+config=debug -->
157
+
<PropertyGroupCondition="'$(WasmNativeDebugSymbols)' == '' and '$(WasmNativeStrip)' == '' and '$(WasmBuildingForNestedPublish)' != 'true' and '$(WasmBuildNative)' == 'true' and '$(Configuration)' == 'Debug'">
0 commit comments