Skip to content

Invalid calling conventions for the target architecture cause a LLVM assert #36142

@Amanieu

Description

@Amanieu

Compiling this code with rustc --target=arm-unknown-linux-gnueabi triggers an LLVM assert:

extern "fastcall" fn asdf() {}
Unsupported calling convention
UNREACHABLE executed at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/Target/ARM/ARMISelLowering.cpp:1371!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions