mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 06:09:37 +00:00
Fix cargo fmt CI failure.
This commit is contained in:
parent
f3705a1856
commit
80d51e1bff
5
build.rs
5
build.rs
|
@ -1,7 +1,10 @@
|
|||
fn main() {
|
||||
if std::env::var("TARGET").unwrap().contains("-apple") {
|
||||
println!("cargo:rustc-link-lib=framework=AVFoundation");
|
||||
if !std::env::var("CARGO_CFG_TARGET_OS").unwrap().contains("ios") {
|
||||
if !std::env::var("CARGO_CFG_TARGET_OS")
|
||||
.unwrap()
|
||||
.contains("ios")
|
||||
{
|
||||
println!("cargo:rustc-link-lib=framework=AppKit");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user