Skip to content

Figure out a proper solution for calling Rust via JNI #4404

Closed

Description

@brson

The new Android code is adding some hacks to create a specially-formed main function in libraries so that it can be called via JNI to start the runtime. We need a better solution. Related to #1793.

Activity

  1. graydon commented on May 1, 2013

    @graydon
    Contributor

    assigning bug; change assignment if you disagree

  2. ghost assigned on May 1, 2013
  3. brson commented on May 1, 2013

    @brson
    ContributorAuthor

    Not 0.7

  4. emberian commented on Jul 21, 2013

    @emberian
    Contributor

    Still relevant. Nominating for feature complete.

  5. graydon commented on Aug 1, 2013

    @graydon
    Contributor

    relative of #1793, we are not committing to an embedding API on current milestones, but naturally we will keep working on this stuff.

  6. graydon commented on Aug 8, 2013

    @graydon
    Contributor

    just a bug, removing milestone/nomination.

  7. ILyoan commented on Dec 19, 2013

    @ILyoan
    Contributor

    Fixed by #10915. Closing.

  8. added a commit that references this issue on Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsO-androidOperating system: Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions