Skip to content

Conversation

@grendello
Copy link
Contributor

@grendello grendello commented Sep 18, 2025

Add more compatibility with the MonoVM and CoreCLR host environments to
the NativeAOT host.

It is important that the applications created for MonoVM, then potentially
migrated to CoreCLR, found themselves running in an environment as closely
resembling the one they were developed and tested in.

Add the following to the NativeAOT runtime:

  • Set up environment variables found in both MonoVM and CoreCLR runtimes.
  • Create XDG directories expected to exist before managed application
    code is invoked for the first time.

Builds, installs, does nothing yet.
Linking seems to work, not tested yet
NativeAOT sample now links without errors about missing symbols (added
linker options for it to fail if missing symbols are detected)
Need to have a think about it next week
@grendello grendello force-pushed the dev/grendel/naot-more-compat branch from 791e644 to 2705848 Compare September 18, 2025 13:25
@grendello grendello marked this pull request as ready for review September 18, 2025 13:27
@grendello grendello merged commit 7766c24 into main Sep 19, 2025
59 checks passed
@grendello grendello deleted the dev/grendel/naot-more-compat branch September 19, 2025 08:00
@github-actions github-actions bot locked and limited conversation to collaborators Oct 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants