Skip to content

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

Closed
@robarnold

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();
}

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