From c3d7b9d86610b1916216e9edfbc8638d1ef5a518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Fri, 1 May 2026 03:55:15 -0700 Subject: [PATCH] Always add ManagedDataDescriptorProvider to compilationRoots This just causes `error LNK2001: unresolved external symbol DotNetManagedContractDescriptor` --- src/coreclr/tools/aot/ILCompiler/Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/coreclr/tools/aot/ILCompiler/Program.cs b/src/coreclr/tools/aot/ILCompiler/Program.cs index 2ba003f6a177c5..469a09b95224a7 100644 --- a/src/coreclr/tools/aot/ILCompiler/Program.cs +++ b/src/coreclr/tools/aot/ILCompiler/Program.cs @@ -257,8 +257,7 @@ public int Run() } } - if (Get(_command.EnableDebugInfo)) - compilationRoots.Add(new ManagedDataDescriptorProvider()); + compilationRoots.Add(new ManagedDataDescriptorProvider()); string win32resourcesModule = Get(_command.Win32ResourceModuleName); if (typeSystemContext.Target.IsWindows && !string.IsNullOrEmpty(win32resourcesModule))