Skip to content

There is no GIT_FILEMODE_COMMIT in libgit2_sys::git_filemode_t #2155

Closed
@emk

Description

@emk

While I was trying to update cargo-extras, it looks like the cargo build has failed against the most recent Rust nightly:

$ multirust run nightly rustc --version
rustc 1.6.0-nightly (9303055f3 2015-11-19)
$ multirust run nightly cargo install cargo-extras
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading cargo-extras v0.1.1
...
   Compiling cargo v0.6.0
/home/emk/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/cargo-0.6.0/src/cargo/sources/path.rs:147:17: 147:65 error: unresolved import `libgit2_sys::git_filemode_t::GIT_FILEMODE_COMMIT`. There is no `GIT_FILEMODE_COMMIT` in `libgit2_sys::git_filemode_t` [E0432]
/home/emk/.multirust/toolchains/nightly/cargo/registry/src/github.com-0a35038f75765ae4/cargo-0.6.0/src/cargo/sources/path.rs:147             use libgit2_sys::git_filemode_t::GIT_FILEMODE_COMMIT;
                                                                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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