Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 5.6k
CoreRT to NativeAOT renames#68950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
CoreRT to NativeAOT renames #68950
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -13,20 +13,13 @@ | ||
| a target called ComputeFilesToPublish which produces the ItemGroup | ||
| ResolvedFileToPublish based on the inputs of @(IntermediateAssembly) | ||
| and @(ResolvedAssembliesToPublish). We modify those two item groups | ||
| to control what gets published after CoreRT optimizes the application. | ||
| For .NET Core 3.0: | ||
MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Deleting support for older .NET SDKs. We support .NET 6+ SDK only. | ||
| - The property has been renamed to _ResolvedCopyLocalPublishAssets in https://github.com/dotnet/sdk/pull/2646 | ||
| - The target has been renamed to ComputeResolvedFilesToPublishList in https://github.com/dotnet/sdk/pull/3281 | ||
| to control what gets published after NativeAOT optimizes the application. | ||
| --> | ||
| <Target Name="ComputeLinkedFilesToPublish" | ||
| BeforeTargets="ComputeFilesToPublish;ComputeResolvedFilesToPublishList" | ||
| BeforeTargets="ComputeResolvedFilesToPublishList" | ||
| DependsOnTargets="_ComputeAssembliesToCompileToNative;LinkNative"> | ||
| <ItemGroup> | ||
| <ResolvedAssembliesToPublish Remove="@(_AssembliesToSkipPublish)" /> | ||
| <ResolvedAssembliesToPublish Include="@(_LinkedResolvedAssemblies)" /> | ||
| <_ResolvedCopyLocalPublishAssets Remove="@(_AssembliesToSkipPublish)" /> | ||
| <_ResolvedCopyLocalPublishAssets Include="@(_LinkedResolvedAssemblies)" /> | ||
| </ItemGroup> | ||
| @@ -59,27 +52,27 @@ | ||
| <!-- Fail with descriptive error message for common unsupported cases. --> | ||
| <Error Condition="'$(DisableUnsupportedError)' != 'true' and '$(OS)' == 'Windows_NT' and !$(RuntimeIdentifier.StartsWith('win'))" | ||
| Text="Cross-OS native compilation is not supported. https://github.com/dotnet/corert/issues/5458" /> | ||
| Text="Cross-OS native compilation is not supported." /> | ||
| <Error Condition="'$(DisableUnsupportedError)' != 'true' and '$(OS)' != 'Windows_NT' and $(RuntimeIdentifier.StartsWith('win'))" | ||
| Text="Cross-OS native compilation is not supported. https://github.com/dotnet/corert/issues/5458" /> | ||
| Text="Cross-OS native compilation is not supported." /> | ||
| <Error Condition="'$(DisableUnsupportedError)' != 'true' and !($(RuntimeIdentifier.EndsWith('x64')) or | ||
| ($(RuntimeIdentifier.EndsWith('arm64')) and !$(RuntimeIdentifier.StartsWith('osx'))))" | ||
| Text="Native compilation does not support targeting $(RuntimeIdentifier) yet. https://github.com/dotnet/corert/issues/4589" /> | ||
| Text="Native compilation does not support targeting $(RuntimeIdentifier) yet." /> | ||
| <Error Condition="'$(DisableUnsupportedError)' != 'true' and !('$(IlcHostArch)' == 'x64' or '$(IlcHostArch)' == 'arm64')" | ||
| Text="Native compilation can run on x64 and arm64 hosts only." /> | ||
| <Error Condition="'$(IlcHostPackagePath)' == '' and '$(RuntimePackagePath)' != '' and ('$(IlcHostArch)' == 'x64' or '$(IlcHostArch)' == 'arm64')" | ||
| Text="Add a PackageReference for '$(IlcHostPackageName)' to allow cross-compilation for $(TargetArchitecture)" /> | ||
| <!-- CoreRT SDK and Framework Assemblies need to be defined to avoid CoreCLR implementations being set as compiler inputs --> | ||
| <!-- NativeAOT runtime pack assemblies need to be defined to avoid the default CoreCLR implementations being set as compiler inputs --> | ||
| <Error Condition="'@(PrivateSdkAssemblies)' == ''" Text="The PrivateSdkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative" /> | ||
| <Error Condition="'@(FrameworkAssemblies)' == ''" Text="The FrameworkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative" /> | ||
| <ComputeManagedAssembliesToCompileToNative | ||
| Assemblies="@(ResolvedAssembliesToPublish);@(_ResolvedCopyLocalPublishAssets)" | ||
| Assemblies="@(_ResolvedCopyLocalPublishAssets)" | ||
| DotNetAppHostExecutableName="$(_DotNetAppHostExecutableName)" | ||
| DotNetHostFxrLibraryName="$(_DotNetHostFxrLibraryName)" | ||
| DotNetHostPolicyLibraryName="$(_DotNetHostPolicyLibraryName)" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -145,8 +145,6 @@ class ICodeManager | ||
| PTR_PTR_VOID * ppvRetAddrLocation, // out | ||
| GCRefKind * pRetValueKind) = 0; // out | ||
| virtual void UnsynchronizedHijackMethodLoops(MethodInfo * pMethodInfo) = 0; | ||
MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was specific to .NET Native for UWP. We do not need it anymore. | ||
| virtual PTR_VOID RemapHardwareFaultToGCSafePoint(MethodInfo * pMethodInfo, PTR_VOID controlPC) = 0; | ||
| virtual bool EHEnumInit(MethodInfo * pMethodInfo, PTR_VOID * pMethodStartAddress, EHEnumState * pEHEnumState) = 0; | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.