mirror of
https://github.com/bspeice/aeron-rs
synced 2024-12-21 21:38:09 -05:00
Fix a cargo-fmt issue
This commit is contained in:
parent
ffe015e9db
commit
4c9f575e2b
@ -54,10 +54,7 @@ pub fn main() {
|
|||||||
// For Linux/OSX, it's just build/lib
|
// For Linux/OSX, it's just build/lib
|
||||||
// For Windows, it's build/lib/{profile}
|
// For Windows, it's build/lib/{profile}
|
||||||
let lib_dir = lib_output_dir(&cmake_output);
|
let lib_dir = lib_output_dir(&cmake_output);
|
||||||
println!(
|
println!("cargo:rustc-link-search=native={}", lib_dir.display());
|
||||||
"cargo:rustc-link-search=native={}",
|
|
||||||
lib_dir.display()
|
|
||||||
);
|
|
||||||
|
|
||||||
println!("cargo:include={}", header_path.display());
|
println!("cargo:include={}", header_path.display());
|
||||||
let bindings = bindgen::Builder::default()
|
let bindings = bindgen::Builder::default()
|
||||||
@ -81,4 +78,4 @@ fn lib_output_dir(cmake_dir: &PathBuf) -> PathBuf {
|
|||||||
} else {
|
} else {
|
||||||
cmake_dir.join("build/lib")
|
cmake_dir.join("build/lib")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user