Skip to content

Compiler error doing hello world #9085

Closed
@v21

Description

@v21

I'm seeing this:

v21s-Mac:~ v21$ RUST_LOG=rustc=1,::rt::backtrace rustc test.rs
rust: task failed at 'failure in execvp: No such file or directory', /private/tmp/rust-DnEq/rust-0.7/src/libstd/run.rs:689
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /private/tmp/rust-DnEq/rust-0.7/src/librustc/rustc.rs:354
rust: domain main @0x7f9014008410 root task failed

test.rs is literally just:

fn main() {
println("hello world");
}

This is running within a VM, if that's relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions