Generating compatible native code. To optimize for size or speed, visit https://aka.ms/OptimizeCoreRT
EXEC : error : Specified method is not supported. [C:\Projects\repro\aotRepro\aotRepro.csproj]
System.NotSupportedException: Specified method is not supported.
at ILCompiler.HardwareIntrinsicHelpers.Arm64IntrinsicConstants.FromInstructionSetFlags(InstructionSetFlags instruc
tionSets)
at ILCompiler.ExpectedIsaFeaturesRootProvider.ILCompiler.ICompilationRootProvider.AddCompilationRoots(IRootingServ
iceProvider rootProvider)
at ILCompiler.Compilation..ctor(DependencyAnalyzerBase`1 dependencyGraph, NodeFactory nodeFactory, IEnumerable`1 c
ompilationRoots, ILProvider ilProvider, DebugInformationProvider debugInformationProvider, DevirtualizationManager de
virtualizationManager, IInliningPolicy inliningPolicy, Logger logger)
at ILCompiler.ILScannerBuilder.ToILScanner()
at ILCompiler.Program.Run(String[] args)
at ILCompiler.Program.Main(String[] args)
Repro:
FWIW I took the names from https://github.com/dotnet/runtime/blob/ce61c09a5f6fc71d8f717d3fc4562f42171869a0/src/coreclr/tools/Common/JitInterface/CorInfoInstructionSet.cs#L739-L740
cc @jkotas