Skip to content

task 'rustc' failed at 'assertion failed: lib.rlib.is_none()' #11908

Closed
@suhr

Description

@suhr

OS: Arch Linux
Kernel: Linux 3.12.9-1-ARCH x86_64
Compiler: rustc 0.9

% rustc bindgen.rs -L /usr/lib/ 
task 'rustc' failed at 'assertion failed: lib.rlib.is_none()', /build/rust/src/rust-0.9/src/librustc/metadata/loader.rs:191
error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler. 
We would appreciate a bug report: https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
task '<main>' failed at 'explicit failure', /build/rust/src/rust-0.9/src/librustc/lib.rs:453

Output of RUST_LOG=rustc rustc bindgen.rs -L /usr/lib/ command: https://gist.github.com/suhr/8690902
Rust files, that causes this effect: https://gist.github.com/suhr/8691056

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