Skip to content

Create an API for hosting the Rust runtime #1793

Closed

Description

@brson

It would be nice to have a C API for starting the rust runtime and dynamically injecting schedulers, tasks, etc.

Should really try to get rid of global variables to allow multiple runtimes to be started simultaneously.

Depends on #458, maybe #1682.

Activity

  1. brson commented on Feb 16, 2012

    @brson
    ContributorAuthor

    Interest was expressed in this for purposes of presenting an API for embedding servo.

  2. ghost assigned on Apr 12, 2012
  3. brson commented on Nov 22, 2012

    @brson
    ContributorAuthor

    This came up again. Specifically we need to embed Rust in Java.

  4. pcwalton commented on May 16, 2013

    @pcwalton
    Contributor

    I don't believe this is backwards incompatible, renominating.

  5. graydon commented on May 30, 2013

    @graydon
    Contributor

    just a bug, removing milestone/nomination.

  6. pnkfelix commented on Jul 17, 2013

    @pnkfelix
    Contributor

    visited for bug triage 17 jul 2013.

  7. pnkfelix commented on Sep 18, 2013

    @pnkfelix
    Contributor

    visited for bug triage, email from 2013 sep 09. no change otherwise.

  8. alexcrichton commented on Dec 17, 2013

    @alexcrichton
    Member

    We are getting very close to this, but we are not quite there just yet. A working "hello world" case can be found here

  9. thestinger commented on Sep 19, 2014

    @thestinger
    Contributor

    Closing in favour of #11921.

  10. added a commit that references this issue on Aug 21, 2026
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 overflows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions