dotnet/runtimelab

[NativeAot] Static libraries

Open

#798 opened on Mar 11, 2021

View on GitHub
 (13 comments) (12 reactions) (0 assignees) (219 forks)auto 404
area-NativeAOT-coreclrhelp wanted

Repository metrics

Stars
 (1,605 stars)
PR merge metrics
 (PR metrics pending)

Description

Right now

Dependency nuget package

  • win-x64 - dep.dll
  • linux-x64 - libdep.so
  • osx-x64 - libdep.dylib

NativeAot output

  • Platfrom specific executeable
  • Platform specific dependency's dynamic library

example: NativeAot win-x64 output:

  • MyExecuteable.exe
  • dep.dll

Questions

  • Can nuget package contain static libraries?
  • Can NativeAot use static libraries to include them in executeable.

To have output like this:

  • MyExecuteable.exe

(single platform executeable in output)

Contributor guide