3 ms·
NativeAOT definetely can do bare metal, here's an example of a very basic EFI boot application: https://github.com/MichalStrehovsky/zerosharp/tree/master/efi-n
by Deukhoofd 4y ago
NativeAOT definetely can do bare metal, here's an example of a very basic EFI boot application:
https://github.com/MichalStrehovsky/zerosharp/tree/master/efi-no-runtime https://github.com/MichalStrehovsky/zerosharp/tree/master/ef...
- pjmlp 4y agoExcept that isn't NativeAOT as it ships on the box using dotnet publish workflow, rather a curated workflow which requires special steps as shown on the efi-runtime example. My remark was regarding the support you get with dotnet publish for NativeAOT, which by the way still doesn't support the GUI/EF scenarios from .NET Native.
- MStrehovsky 4y agoZeroSharp is done by the same person as bflat (me). These ZeroSharp samples get broken all the time because they bend the MSBuild targets that ship with .NET to an extreme. Bflat is a more supportable route and has a couple extra customizations to the compiler specifically for these scenarios.