Skip to content

early exit ICE #4120

Closed
Closed
@jesse99

Description

@jesse99

Was testing my code by injecting an early exit and found that it ICEd. Here is a repro (with rust 0.4):

// rustc early_exit.rs
fn main()
{
    libc::exit(0);
    error!("ack");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions