Skip to content

Compiler bug when attempting to build with lmath #3931

Closed
@brendanzab

Description

@brendanzab
extern mod lmath;

fn main() {
    io::println(~"hulp!")
}
$ cargo install lmath
$ RUST_LOG=rustc=0,::rt::backtrace rustc test.rs 
rust: task failed at 'get_module called on a node with no module definition!', /usr/local/src/rust/src/rustc/middle/resolve.rs:618
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=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /usr/local/src/rust/src/rustc/driver/rustc.rs:241
rust: domain main @0x7fb5a300c210 root task failed
rust: task failed at 'killed', /usr/local/src/rust/src/libcore/task.rs:615

It doesn't seem to happen with any of my other crates. I'm interested to see if any of you can reproduce this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions