diff options
Diffstat (limited to 'vendor/sysinfo/build.rs')
-rw-r--r-- | vendor/sysinfo/build.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/vendor/sysinfo/build.rs b/vendor/sysinfo/build.rs deleted file mode 100644 index 437300934..000000000 --- a/vendor/sysinfo/build.rs +++ /dev/null @@ -1,19 +0,0 @@ -fn main() { - let is_apple = std::env::var("TARGET") - .map(|t| t.contains("-apple")) - .unwrap_or(false); - let is_ios = std::env::var("CARGO_CFG_TARGET_OS") - .map(|s| s == "ios") - .unwrap_or(false); - - if is_apple { - if !is_ios { - // DiskArbitration is not available on iOS: https://developer.apple.com/documentation/diskarbitration - println!("cargo:rustc-link-lib=framework=DiskArbitration"); - // IOKit is not available on iOS: https://developer.apple.com/documentation/iokit - println!("cargo:rustc-link-lib=framework=IOKit"); - } - - println!("cargo:rustc-link-lib=framework=Foundation"); - } -} |