Skip to content

rustc panic on unwrap in rustc_codegen_llvm::llvm::diagnostic::Diagnostic::unpack when using custom target #55216

Closed
@thepowersgang

Description

@thepowersgang

When using this custom target to compile libcore (and I'd assume any other crate), rustc ICEs on an unwrap in the above named function.

This unwrap at diagnostic.rs:88 seems to be only able to fail if there's a null reference in LLVM (or in the rustc shim)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-codegenArea: Code generation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions