Skip to content

Verify signature of start lang item #105963

Description

@bjorn3

In https://github.com/bjorn3/rustc_codegen_cranelift/issues/1329 it was found if the signature of the start lang item is wrong, rustc with the LLVM backend will silently compile it despite the ABI mismatch. Cg_clif crashes entirely. To avoid both issues rustc should validate the signature.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-craneliftThings relevant to the [future] cranelift backendA-lang-itemArea: Language itemsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions