-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the icu native code to be linked out when invariant globalizati…
…on is enabled. (#48120) * Disable the dynamic loading of icu functions on WASM. * Preserve GetICUVersion using a DynamicDependency attribute so its only preserved for the tests which need it. * Add GetICUVersion to .LibraryBuild.xml so its retained during the class libs build. * Set InvariantGlobalization based on WasmInvariantGlobalization. * Fix the framework build. * Avoid linking in the libicu libraries on wasm in invariant mode. * Move ICU tests dependency to libraries build descriptor file * Hook up the shared file in the build * Fix conditionals. * Remove WasmInvariantGlobalization msbuild variable. Co-authored-by: Marek Safar <marek.safar@gmail.com>
- Loading branch information
1 parent
56d0eb9
commit 2e36f1b
Showing
5 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Shared.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/libraries/System.Private.CoreLib/src/ILLink/ILLinkTrim_LibraryBuild.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<linker> | ||
<assembly fullname="System.Private.CoreLib"> | ||
<type fullname="Interop/Globalization"> | ||
<!-- Internal API used by tests only. --> | ||
<method name="GetICUVersion" /> | ||
</type> | ||
</assembly> | ||
</linker> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters