codex: fix realtime bazel build

This commit is contained in:
Ahmed Ibrahim
2026-03-04 21:17:04 -08:00
parent ef5a45e585
commit 374bff8cc0

View File

@@ -361,6 +361,9 @@ impl ChatWidget {
#[cfg(target_os = "linux")]
fn start_realtime_local_audio(&mut self) {}
#[cfg(all(not(target_os = "linux"), not(feature = "voice-input")))]
fn start_realtime_local_audio(&mut self) {}
#[cfg(all(not(target_os = "linux"), feature = "voice-input"))]
pub(crate) fn restart_realtime_audio_device(&mut self, kind: RealtimeAudioDeviceKind) {
if !self.realtime_conversation.is_active() {