From e817635e8b7097028154554563b6b28bd59d753e Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Sat, 20 Oct 2018 13:05:13 +0200 Subject: [PATCH] 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. --- rust-bindings/rust/sys/Cargo.toml | 1 - rust-bindings/rust/sys/build.rs | 4 ---- 2 files changed, 5 deletions(-) diff --git a/rust-bindings/rust/sys/Cargo.toml b/rust-bindings/rust/sys/Cargo.toml index 88868c87..9bc7868d 100644 --- a/rust-bindings/rust/sys/Cargo.toml +++ b/rust-bindings/rust/sys/Cargo.toml @@ -50,6 +50,5 @@ links = "ostree-1" name = "libostree-sys" repository = "https://gitlab.com/fkrull/rust-libostree" version = "0.1.5" - [package.metadata.docs.rs] features = ["dox"] diff --git a/rust-bindings/rust/sys/build.rs b/rust-bindings/rust/sys/build.rs index 58a32260..ba199e44 100644 --- a/rust-bindings/rust/sys/build.rs +++ b/rust-bindings/rust/sys/build.rs @@ -62,10 +62,6 @@ fn find() -> Result<(), Error> { return Ok(()) } - if cfg!(feature = "dox") { - return Ok(()) - } - let target = env::var("TARGET").expect("TARGET environment variable doesn't exist"); let hardcode_shared_libs = target.contains("windows");