Skip to content

Create our initial native library for NativeAOT #10455

@jonathanpeppers

Description

@jonathanpeppers

Android framework version

net10.0-android (Preview)

Affected platform version

.NET 10

Description

Right now "hello world" works for NativeAOT, using only C# and Java code at startup:

We'll at least need a small native library for the GC Bridge to function, as seen in:

We will need more native code as time goes on.

As a starting point, we should make a version of libmonodroid that is:

  • Small, minimal amount of code for NativeAOT to work
  • Sets up the GC Bridge
  • May need to preload JNI native libraries
  • Statically links everything

We could start small and complete #10402 to begin with.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions