summaryrefslogtreecommitdiff
path: root/rust/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/build.rs')
-rw-r--r--rust/build.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/build.rs b/rust/build.rs
index c98bf81b..1e2fede0 100644
--- a/rust/build.rs
+++ b/rust/build.rs
@@ -1,8 +1,8 @@
use std::path::PathBuf;
fn main() {
- let link_path =
- std::env::var_os("DEP_BINARYNINJACORE_PATH").expect("DEP_BINARYNINJACORE_PATH specified");
+ let link_path = std::env::var_os("DEP_BINARYNINJACORE_PATH")
+ .expect("DEP_BINARYNINJACORE_PATH not specified");
println!("cargo::rustc-link-lib=dylib=binaryninjacore");
println!("cargo::rustc-link-search={}", link_path.to_str().unwrap());
@@ -15,7 +15,7 @@ fn main() {
);
}
- let out_dir = std::env::var("OUT_DIR").expect("OUT_DIR specified");
+ let out_dir = std::env::var("OUT_DIR").expect("OUT_DIR not specified");
let out_dir_path = PathBuf::from(out_dir);
// Copy all binaries to OUT_DIR for unit tests.