sys: regenerate

This removes my build trick to allow docs builds without the library
available, but since we're not targetting docs.rs for now, that's fine.
This commit is contained in:
Felix Krull 2018-10-20 13:05:13 +02:00 committed by Colin Walters
parent 6b082eb2c4
commit e817635e8b
2 changed files with 0 additions and 5 deletions

View File

@ -50,6 +50,5 @@ links = "ostree-1"
name = "libostree-sys" name = "libostree-sys"
repository = "https://gitlab.com/fkrull/rust-libostree" repository = "https://gitlab.com/fkrull/rust-libostree"
version = "0.1.5" version = "0.1.5"
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = ["dox"] features = ["dox"]

View File

@ -62,10 +62,6 @@ fn find() -> Result<(), Error> {
return Ok(()) return Ok(())
} }
if cfg!(feature = "dox") {
return Ok(())
}
let target = env::var("TARGET").expect("TARGET environment variable doesn't exist"); let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
let hardcode_shared_libs = target.contains("windows"); let hardcode_shared_libs = target.contains("windows");