Skip to content

LLVM ICE using maud and iron #28114

@reem

Description

@reem

Reproduction: https://gist.github.com/anonymous/ecaa67ead6b561fb8d39

The full error from cargo build:

   Compiling iron-maud v0.1.0 (file:///Users/reem/code/iron/iron-maud)
Global is external, but doesn't have external or weak linkage!
i8 (%closure.66*, i8*, void (i8*)**)* @_ZN4main13closure.10657E
invalid linkage type for function declaration
i8 (%closure.66*, i8*, void (i8*)**)* @_ZN4main13closure.10657E
LLVM ERROR: Broken module found, compilation aborted!
Could not compile `iron-maud`.

To learn more, run the command again with --verbose.

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