Skip to content

Harden NativeAOT safety#5089

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
nativeaot-safety-audit
Jul 15, 2026
Merged

Harden NativeAOT safety#5089
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
nativeaot-safety-audit

Conversation

@mamoreau-devolutions

Copy link
Copy Markdown
Contributor

Summary

  • enforce NativeAOT/trim-safe contribution guidance and validate CI produces a real NativeAOT executable
  • remove reflection-based settings JSON fallbacks in favor of required source-generated metadata
  • remove the WinGet interop IL2050 suppression

Validation

  • NativeAOT Windows x64 publish produced UniGetUI.exe; --help smoke test passed
  • settings and JSON metadata tests passed

Follow-up

Avalonia DataGrid still emits framework-owned trim/AOT diagnostics and needs a compatible dependency update or upstream fix.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@GabrielDuf
Gabriel Dufresne (GabrielDuf) merged commit d6be6a2 into main Jul 15, 2026
5 checks passed
@GabrielDuf
Gabriel Dufresne (GabrielDuf) deleted the nativeaot-safety-audit branch July 15, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants