diff --git a/src/coreclr/nativeaot/Bootstrap/main.cpp b/src/coreclr/nativeaot/Bootstrap/main.cpp index aaf3d55352b900..cc78cf8d6710a9 100644 --- a/src/coreclr/nativeaot/Bootstrap/main.cpp +++ b/src/coreclr/nativeaot/Bootstrap/main.cpp @@ -236,11 +236,4 @@ static struct InitializeRuntimePointerHelper RhSetRuntimeInitializationCallback(&InitializeRuntime); } } initializeRuntimePointerHelper; - -extern "C" void* NativeAOT_StaticInitialization(); - -void* NativeAOT_StaticInitialization() -{ - return &initializeRuntimePointerHelper; -} #endif // NATIVEAOT_DLL diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets index e0c506bd012680..31d772b4f07c63 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets @@ -143,7 +143,6 @@ The .NET Foundation licenses this file to you under the MIT license. - diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets index 5c6dd32cb6a4be..1b89aaf335022c 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets @@ -89,7 +89,6 @@ The .NET Foundation licenses this file to you under the MIT license. -