Skip to content

libc 0.1.11 does not compile on stable release channel #20

@zaeleus

Description

@zaeleus
$ rustc --version
rustc 1.3.0 (9a92aaf19 2015-09-15)
$ cargo --version
cargo 0.4.0-nightly (553b363 2015-08-03) (built 2015-08-02)
$ tail -2 Cargo.toml
[dependencies]
libc = "0.1.11"
$ cargo build
   Compiling libc v0.1.11
/Users/michael/.multirust/toolchains/stable/cargo/registry/src/github.com-0a35038f75765ae4/libc-0.1.11/rust/src/liblibc/lib.rs:27:1: 27:31 error: #[feature] may not be used on the stable release channel
/Users/michael/.multirust/toolchains/stable/cargo/registry/src/github.com-0a35038f75765ae4/libc-0.1.11/rust/src/liblibc/lib.rs:27 #![feature(cfg_target_vendor)]
                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
Could not compile `libc`.

To learn more, run the command again with --verbose.

This was likely caused by rust-lang/rust@c099cfa.

0.1.10 still works.

$ tail -2 Cargo.toml
[dependencies]
libc = "=0.1.10"
$ cargo build
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling libc v0.1.10
   Compiling foo v0.1.0 (file:///Users/michael/tmp/foo)

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