summaryrefslogtreecommitdiffstats
path: root/toolkit/library/rust/gkrust-features.mozbuild
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/library/rust/gkrust-features.mozbuild')
-rw-r--r--toolkit/library/rust/gkrust-features.mozbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/library/rust/gkrust-features.mozbuild b/toolkit/library/rust/gkrust-features.mozbuild
index 7b0724960f..bca833213c 100644
--- a/toolkit/library/rust/gkrust-features.mozbuild
+++ b/toolkit/library/rust/gkrust-features.mozbuild
@@ -21,7 +21,7 @@ if CONFIG["MOZ_WEBRENDER_DEBUGGER"]:
if CONFIG["MOZ_PULSEAUDIO"]:
gkrust_features += ["cubeb_pulse_rust"]
-if CONFIG["MOZ_AUDIOUNIT_RUST"]:
+if CONFIG["MOZ_AUDIOUNIT_RUST"] and CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
gkrust_features += ["cubeb_coreaudio_rust"]
if CONFIG["MOZ_RUST_SIMD"]: