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:
parent
6b082eb2c4
commit
e817635e8b
|
|
@ -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"]
|
||||||
|
|
|
||||||
|
|
@ -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");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue