Closed xperiandri closed 2 years ago
https://github.com/fsharp/fslang-suggestions/issues/919#issuecomment-855800637
These are bugs in the .NET native systems - TBH I'm not a fan of buggy and incomplete implementations of things calling themselves .NET that are not .NET, and feeel it's a bit of a waste of time trying to chase them down.
@xperiandri so far the only reproduction of a .net netnative compiler crash is when compiling x86 (as discussed in the linked thread). I can see references to x86 in your project file. I don't know much about builds but perhaps removing these references would work. If you can confirm that the crash happens outside x86, or want to discuss x86 support, then best to comment in that thread [Edit: thread is locked because corert is archived so would need to be a new issue in dotnet/runtimelab].
This doesn't appear to be a bug in this repo, and the general topic is covered at https://github.com/fsharp/fslang-suggestions/issues/919#issuecomment-855800637
Some time ago there was an issue about inability to compile F# with .NET native https://github.com/dotnet/corert/issues/6055#issuecomment-421050834
Was it fixed? As .NET native compiler still crashes.
Repro steps
template_fixes
SolutionTemplate.sln
Release
Expected behavior
Builds successfully
Actual behavior
Compiler crashes
Related information