diff options
author | Martin Baulig <mabaul@microsoft.com> | 2019-03-29 23:31:17 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-03-29 23:31:17 +0300 |
commit | ccb95fc05f6690404ee0d912ec69d582719443bb (patch) | |
tree | e8963f049720f6978793d5acbabab8d1cbeaf0bf /mcs/build | |
parent | 20b523ee9c57802981ec89d23289b7dd62dd8376 (diff) |
[wasm]: Disable managed collation on wasm. (#13684)
* The `SimpleCollator` class now implements a new internal interface `ISimpleCollator`.
In `CompareInfo`, we reference it by that interface everywhere except `GetCollator ()`,
so we can `#if`-def it out.
Later on, we will use the linker to do this dynamically with some sort of conditional,
but even then the interface is required to limit references to the `SimpleCollator` type
to one single method.
* Add `Mono.Globalization.Unicode/SimpleCollator.cs` to `wasm_corlib.dll.exclude.sources`.
* `corlib/Makefile`: remove collation resources on WASM.
* Added new `[Category ("ManagedCollator")]` to the relevant tests.
Diffstat (limited to 'mcs/build')
-rw-r--r-- | mcs/build/profiles/wasm.make | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/build/profiles/wasm.make b/mcs/build/profiles/wasm.make index 39988414795..d4ca5793951 100644 --- a/mcs/build/profiles/wasm.make +++ b/mcs/build/profiles/wasm.make @@ -43,3 +43,4 @@ NO_CONSOLE = yes NO_MULTIPLE_APPDOMAINS = yes NO_THREAD_ABORT = yes NO_THREAD_SUSPEND_RESUME = yes +WASM = yes |