[browser] Trim library tests
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
**This is blocker for enabling CoreCLR R2R for library tests.**
trimming library tests was disabled in https://github.com/dotnet/runtime/pull/120330
- enable IL trimming again
- trimming + publish triggers `WasmBuildNative` unless `WasmBuildNativeImplicitInReleaseConfiguration`
- we don't want to force native relink to all 200 tests, but only those that need it. `WasmBuildNativeImplicitInReleaseConfiguration` helps to avoid it.
- Because trimming was disabled for many months, it drifted and is broken. Fix it.
- The coreCLR native doesn't work. Related issue https://github.com/dotnet/runtime/issues/133185
- The coreCLR publish + trim doesn't work [copilot analysis](https://gist.github.com/pavelsavara/9a87a846d6303ac3e14aa38403965cf0)
Contributor guide
Assessment
This issue has not been assessed yet.