diff options
author | Cody P Schafer <dev@codyps.com> | 2021-08-04 15:57:49 -0400 |
---|---|---|
committer | Cody P Schafer <dev@codyps.com> | 2021-08-04 15:57:49 -0400 |
commit | a94a85c91b4475096d07fcf85b974dac1290f436 (patch) | |
tree | fd8181b4bd58747cedafa689eff081ee9edd4578 | |
parent | 7a1198cf3882e3d63671b5588210122ac809926a (diff) | |
download | rust-libzfs-a94a85c91b4475096d07fcf85b974dac1290f436.zip |
cargo fmt
-rw-r--r-- | zfs-core-sys/build.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/zfs-core-sys/build.rs b/zfs-core-sys/build.rs index 99aa29c..97b4de7 100644 --- a/zfs-core-sys/build.rs +++ b/zfs-core-sys/build.rs @@ -1,4 +1,8 @@ -use std::{ffi::OsStr, path::{Path, PathBuf}, str::FromStr}; +use std::{ + ffi::OsStr, + path::{Path, PathBuf}, + str::FromStr, +}; fn var(s: &str) -> Result<String, std::env::VarError> { println!("cargo:rerun-if-env-changed={}", s); @@ -72,7 +76,7 @@ fn main() { // // Right now, if the link method is _not_ supplied, we tweak PKG_CONFIG_PATH so things // will automatically work in the common case (with openzfs on osx 2.01 at least) - // + // // This will almost certainly behave poorly in the case of cross compilation, where // users should probably specify a `LIBZFS_CORE_LOOKUP_WITH` explicitly. "macos" => { @@ -111,6 +115,6 @@ fn main() { "freebsd" => { println!("cargo:rustc-link-lib=dylib:-as-needed=zutil"); } - _ => {}, + _ => {} } } |