Skip to content

Create our initial native library for NativeAOT #10455

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.

Activity

  1. changed the title [-]Set our initial native library for NativeAOT[/-] [+]Create our initial native library for NativeAOT[/+] on Aug 29, 2025
  2. added and removed
    needs-triageIssues that need to be assigned.
    on Aug 29, 2025
  3. added a commit that references this issue on Sep 12, 2025
    869b0e0
  4. locked and limited conversation to collaborators on Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions