Skip to content

Create and export rust C API from the runtime #1682

Closed
@brson

Description

@brson

More and more people are wanting to interop with the Rust runtime from C code. We need to create a suitable interface for doing such, and not encourage using the builtins or upcalls. I propose using the rust_client_ namespace or rust_api_.

Current functions being abused:

  • new_port
  • del_port
  • chan_id_send
  • upcall_s_shared_malloc

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions