From fb25481a142988723f7c396df7bd9156d222f07f Mon Sep 17 00:00:00 2001 From: Sven Boemer Date: Wed, 3 Jun 2020 16:21:32 +0000 Subject: [PATCH] Remove ClearInitLocalsAssemblies arg See https://github.com/mono/linker/pull/1237. Setting the boolean ClearInitLocals is sufficient here because we are only linking the target assembly. If in the future we need to control it per-assembly, we can use metadata on AssemblyPaths: https://github.com/mono/linker/blob/master/src/ILLink.Tasks/LinkTask.cs#L23 --- eng/illink.targets | 1 - 1 file changed, 1 deletion(-) diff --git a/eng/illink.targets b/eng/illink.targets index 6ac5e9ac2a1ee0..79fc5e813ae987 100644 --- a/eng/illink.targets +++ b/eng/illink.targets @@ -150,7 +150,6 @@ RootAssemblyNames="" OutputDirectory="$(ILLinkTrimOutputPath)" ClearInitLocals="$(ILLinkClearInitLocals)" - ClearInitLocalsAssemblies="$(TargetName)" ExtraArgs="$(ILLinkArgs)" ToolExe="$(_DotNetHostFileName)" ToolPath="$(_DotNetHostDirectory)" />