Skip to content

[browser][coreCLR] workaround Wasm.Build.Tests.IcuTests.FullIcuFromRuntimePackWithInvariant#129243

Open
pavelsavara wants to merge 3 commits into
dotnet:mainfrom
pavelsavara:invariant_fix
Open

[browser][coreCLR] workaround Wasm.Build.Tests.IcuTests.FullIcuFromRuntimePackWithInvariant#129243
pavelsavara wants to merge 3 commits into
dotnet:mainfrom
pavelsavara:invariant_fix

Conversation

@pavelsavara

@pavelsavara pavelsavara commented Jun 10, 2026

Copy link
Copy Markdown
Member

Workaround for #129242

Failing probably since #126946

@pavelsavara pavelsavara added this to the 11.0.0 milestone Jun 10, 2026
@pavelsavara pavelsavara self-assigned this Jun 10, 2026
Copilot AI review requested due to automatic review settings June 10, 2026 16:28
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-System.Globalization os-browser Browser variant of arch-wasm labels Jun 10, 2026
@pavelsavara pavelsavara marked this pull request as ready for review June 10, 2026 16:29
@pavelsavara pavelsavara requested a review from radekdoulik June 10, 2026 16:29
Comment thread src/mono/browser/build/BrowserWasmApp.CoreCLR.targets

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the CoreCLR Browser/WASM native link inputs so the runtime pack’s globalization + ICU static archives are always linked, even when InvariantGlobalization=true, to avoid link-time undefined symbols from generated GlobalizationNative_* P/Invoke references.

Changes:

  • Removed the Condition="'$(InvariantGlobalization)' != 'true'" gating from libSystem.Globalization.Native.a and ICU archive inputs so they are always included in the CoreCLR WASM link step.

Comment thread src/mono/browser/build/BrowserWasmApp.CoreCLR.targets
@pavelsavara

Copy link
Copy Markdown
Member Author
image

@pavelsavara

Copy link
Copy Markdown
Member Author

/ba-g unrelated failures

Copilot AI review requested due to automatic review settings June 11, 2026 15:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

<_CoreCLRNativeLibs Include="$(MicrosoftNetCoreAppRuntimePackRidNativeDir)libicuuc.a" Condition="'$(InvariantGlobalization)' != 'true'" />
<_CoreCLRNativeLibs Include="$(MicrosoftNetCoreAppRuntimePackRidNativeDir)libicui18n.a" Condition="'$(InvariantGlobalization)' != 'true'" />
<_CoreCLRNativeLibs Include="$(MicrosoftNetCoreAppRuntimePackRidNativeDir)libicudata.a" Condition="'$(InvariantGlobalization)' != 'true'" />
<!-- Use Condition="'$(InvariantGlobalization)' != 'true'" after fix for https://github.com/dotnet/runtime/issues/129242 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-wasm WebAssembly architecture area-System.Globalization os-browser Browser variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants