Loading openssl-sys/build/main.rs +1 −2 Original line number Diff line number Diff line Loading @@ -82,9 +82,8 @@ fn main() { // rerun-if-changed causes openssl-sys to rebuild if the openssl include // dir has changed since the last build. However, this causes a rebuild // every time when vendoring so we disable it. #[cfg(not(feature = "vendored"))] let potential_path = include_dir.join("openssl"); if potential_path.exists() { if potential_path.exists() && !cfg!(feature = "vendored") { if let Some(printable_include) = potential_path.to_str() { println!("cargo:rerun-if-changed={}", printable_include); } Loading Loading
openssl-sys/build/main.rs +1 −2 Original line number Diff line number Diff line Loading @@ -82,9 +82,8 @@ fn main() { // rerun-if-changed causes openssl-sys to rebuild if the openssl include // dir has changed since the last build. However, this causes a rebuild // every time when vendoring so we disable it. #[cfg(not(feature = "vendored"))] let potential_path = include_dir.join("openssl"); if potential_path.exists() { if potential_path.exists() && !cfg!(feature = "vendored") { if let Some(printable_include) = potential_path.to_str() { println!("cargo:rerun-if-changed={}", printable_include); } Loading