Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sdks
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2020-01-09 21:12:16 +0300
committerGitHub <noreply@github.com>2020-01-09 21:12:16 +0300
commit6f4fe0520977522af7b2291412572c69f9184167 (patch)
tree93e38bdf464fdc61b88a789e52a01daf11bbe495 /sdks
parentc9dc20f59ebe7fbed2a439d69c2d03a2d4500577 (diff)
[wasm] Pass --used-attrs-only true to the linker. (#18401)
Diffstat (limited to 'sdks')
-rw-r--r--sdks/wasm/packager.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/sdks/wasm/packager.cs b/sdks/wasm/packager.cs
index 6d193a5bb2d..f038902257d 100644
--- a/sdks/wasm/packager.cs
+++ b/sdks/wasm/packager.cs
@@ -1099,6 +1099,7 @@ class Driver {
if (enable_aot)
// Only used by the AOT compiler
linker_args += "--explicit-reflection ";
+ linker_args += "--used-attrs-only true ";
linker_args += "--substitutions linker-subs.xml ";
linker_infiles += "| linker-subs.xml";
if (!string.IsNullOrEmpty (linkDescriptor)) {