You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[nativeaot] Add more compatibility with CoreCLR and MonoVM hosts (#10498)
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.
Additionally, stop linking shared version of the `libc++` library, instead use the static one.
This shrinks the sample package size by ~8mb and is also a requirement for applications
that may themselves use `libc++`, since that could cause conflicts with the binaries produced
by the NativeAOT compiler.
0 commit comments