Skip to content

Internal compiler error when trying to spawn a native function as a task #506

Description

@robarnold

I see 'internal compiler error ret_ty_of_fn_ty() called on non-function type' when trying to compile:

native "rust" mod rustrt {
fn uvtask();
}
fn iotask() {
let task iothread = spawn rustrt::uvtask();
}

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions