From 1732fa92f34ffae62acf8c0f135f6f2f6457c145 Mon Sep 17 00:00:00 2001 From: Jonathan Peris Date: Sun, 29 Nov 2026 12:19:20 -0300 Subject: [PATCH] List #294's remaining hosting work as roadmap follow-ups #294 closed with its agreed design in (#528, #532, #534). What it left outside that scope (Windows/WebAssembly exports and split init, NativeLib on the other platforms, the Apple host link) and its one documented difference from NativeAOT go to the Follow-ups list. --- docs/06-roadmap.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/06-roadmap.md b/docs/06-roadmap.md index 504ab9c7..3f08581d 100644 --- a/docs/06-roadmap.md +++ b/docs/06-roadmap.md @@ -555,6 +555,13 @@ before working on one (`tools/il-first/measure-aot.sh`), since earlier changes m - Done since the tracker opened: Guid (#416); ManualResetEventSlim and SpinWait from CoreLib, Barrier from System.Threading (#414); ArrayList and BitArray (#372). +### Native hosting (after #294: #528, #532, #534) +- Exports (`[UnmanagedCallersOnly(EntryPoint)]`) and `--splitinit` on Windows (COFF/MinGW) and WebAssembly: "not supported by csharpc yet" today. +- `NativeLib=Shared|Static` on macOS (a dylib), Windows and WebAssembly. +- Linking into the .NET for macOS/iOS host (`libxamarin-dotnet-nativeaot.a`, the registrar object, the MonoBundle rpath), with a macOS project test. +- NativeAOT leaves out the module initializer of a module whose code it only inlined; csharpc runs it, as the JIT does (docs/04-runtime.md, + "Module initializers"). + ### Stack allocation (was #476; after #457, #461) - Small arrays that do not escape (#458). - Allocations inside try regions, as `invoke`s (#459).