Skip to content

ICE on extern "Rust" fn declaration #10763

Description

@huonw
extern "Rust" fn foo() {}

fn main() {}
error: internal compiler error: unimplemented Foreign functions with Rust ABI
This message reflects a bug in the Rust compiler. 

(On first blush, I'd think that fn foo() and extern "Rust" fn foo() should be identical, but there might something I'm missing?)

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

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions