.Net 7 introduced official support for NativeAOT and DOTNET_JitDasm - an env var for printing the generated asm.
Supporting it in SharpLab would make viewing AOT code possible and would also add support for ARM64.
The only issue is that DOTNET_JitStdOutFile was only exposed in .Net 8 and iirc the SDK eats the output from NativeAOT in 7.
Thanks for reporting -- this is similar to long-standing issues around JIT that all come down to JIT being currently run in memory.
I do intend to improve it, though there is no timeline promise.
.Net 7 introduced official support for NativeAOT and
DOTNET_JitDasm
- an env var for printing the generated asm. Supporting it in SharpLab would make viewing AOT code possible and would also add support for ARM64. The only issue is thatDOTNET_JitStdOutFile
was only exposed in .Net 8 and iirc the SDK eats the output from NativeAOT in 7.