Skip to content

Convert upcalls to core Rust functions #2861

Closed
@brson

Description

@brson

The main motivation is that the new failure code is written in Rust so calling it directly makes more sense than indirecting through native runtime code.

This also lets us to have fewer stack-switching mechanisms as upcalls are dealt with differently than other foreign functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions