Skip to content

Commit

Permalink
Revert "Don't NativeAOT crossgen on ARM64 (dotnet#74211)"
Browse files Browse the repository at this point in the history
This reverts commit 02c2ba0.
  • Loading branch information
MichalStrehovsky committed Aug 26, 2022
1 parent 9cfdadc commit b2fe0de
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/coreclr/tools/aot/crossgen2/crossgen2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
<!-- Can't use NativeAOT in source build yet https://github.com/dotnet/runtime/issues/66859 and we
don't want to ship using NativeAOT on MacOS -->
<NativeAotSupported Condition="'$(DotNetBuildFromSource)' == 'true' or '$(TargetOS)' == 'osx'">false</NativeAotSupported>

<!-- Work around https://github.com/dotnet/runtime/issues/72645 -->
<NativeAotSupported Condition="'$(TargetArchitecture)' == 'arm64'">false</NativeAotSupported>

<!-- Trimming is not currently working, but set the appropriate feature flags for NativeAOT -->
<PublishTrimmed Condition="'$(NativeAotSupported)' == 'true'">true</PublishTrimmed>
<RuntimeIdentifiers Condition="'$(RunningPublish)' != 'true' and '$(DotNetBuildFromSource)' != 'true'">linux-x64;linux-musl-x64;linux-arm;linux-musl-arm;linux-arm64;linux-musl-arm64;freebsd-x64;osx-x64;osx-arm64;win-x64;win-x86;win-arm64;win-arm</RuntimeIdentifiers>
Expand Down

0 comments on commit b2fe0de

Please sign in to comment.