Skip to content

Cannot bind native functions #820

@eholk

Description

@eholk
native "rust" mod rustrt {
    fn task_yield();
}

fn main() { bind rustrt::task_yield(); }

This fails with the error message upcall fail 'LHS of bind expr didn't have a function type?!', ../src/comp/middle/typeck.rs:2065.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions