From 872095d88bab9c6ec01ec20fba27d4692d1d5d42 Mon Sep 17 00:00:00 2001 From: Eugene Hauptmann Date: Thu, 6 Jun 2024 15:55:19 -0400 Subject: [PATCH] AudioToolbox for visionOS --- build.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.rs b/build.rs index 2732902..9c06139 100644 --- a/build.rs +++ b/build.rs @@ -81,10 +81,8 @@ fn build(sdk_path: Option<&str>, target: &str) { #[cfg(feature = "audio_toolbox")] { - if !target.contains("apple-visionos") { - println!("cargo:rustc-link-lib=framework=AudioToolbox"); - headers.push("AudioToolbox/AudioToolbox.h"); - } + println!("cargo:rustc-link-lib=framework=AudioToolbox"); + headers.push("AudioToolbox/AudioToolbox.h"); } #[cfg(feature = "core_audio")]