We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6366f56 commit 93b8923Copy full SHA for 93b8923
build.rs
@@ -72,8 +72,8 @@ fn main() -> Result<()> {
72
})?;
73
println!("cargo:warning={:?} = {:?}", str, version.trim());
74
}
75
- if str == CORE_TGZ {
76
- if !bundled_core_path.exists() {
+ if str == CORE_TGZ
+ && !bundled_core_path.exists() {
77
println!("cargo:info=Found core.tar.gz in archive, extracting to core",);
78
let core_tgz_path = PathBuf::from(out_dir.clone()).join("core.tar.gz");
79
entry.unpack(&core_tgz_path).with_context(|| {
@@ -98,7 +98,6 @@ fn main() -> Result<()> {
98
format!("Failed to unpack file {:?} to {:?}", path, core_target)
99
100
101
- }
102
103
104
0 commit comments