Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Functions that return twice are UB #1

Open
@Amanieu

Description

@Amanieu

Rust does not support calling functions like setjmp which return twice. I would recommend changing the API to a single swap_context operation implemented in inline assembly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions