Format code

This commit is contained in:
2022-04-30 11:07:48 +02:00
parent b9e7c78ae8
commit 6d5000fe42

View File

@@ -122,8 +122,11 @@ fn main() {
if cfg!(feature = "use_system_unicorn") { if cfg!(feature = "use_system_unicorn") {
#[cfg(feature = "use_system_unicorn")] #[cfg(feature = "use_system_unicorn")]
{ {
let lib = pkg_config::Config::new().atleast_version("2").cargo_metadata(false) let lib = pkg_config::Config::new()
.probe("unicorn").expect("Fail to find globally installed unicorn"); .atleast_version("2")
.cargo_metadata(false)
.probe("unicorn")
.expect("Fail to find globally installed unicorn");
for dir in lib.link_paths { for dir in lib.link_paths {
println!("cargo:rustc-link-search=native={}", dir.to_str().unwrap()); println!("cargo:rustc-link-search=native={}", dir.to_str().unwrap());
} }