by sdflhasjd · 6y ago · 0 comments
While not the same thing as AOT compilation, `dotnet publish -p:PublishSingleFile=true` achieves the goal of having a self contained executable.
Go ACTUALLY produces single file executables.
The severity of this is up for debate, but I think Microsoft shouldn't be calling this a single file executable.
Source: https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotne...
Not a critical feature these days with CI being as good as it is, but can you run that command from macOS or Windows and get a Linux binary?