Skip to content

Verify signature of start lang item #105963

Closed
@bjorn3

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.

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