Skip to content

feat: cross-platform support (Linux, Windows, CUDA)#8

Merged
pszymkowiak merged 1 commit into
mainfrom
feat/cross-platform
Feb 6, 2026
Merged

feat: cross-platform support (Linux, Windows, CUDA)#8
pszymkowiak merged 1 commit into
mainfrom
feat/cross-platform

Conversation

@pszymkowiak

Copy link
Copy Markdown
Contributor

Summary

  • Add qwen-native backend using qwen3-tts-rs (pure Rust/candle) with auto-device detection (CPU/Metal/CUDA)
  • Replace afplay with rodio for cross-platform audio playback
  • Gate macOS-only code (say, qwen, chat, stt) behind #[cfg(target_os = "macos")]
  • Add metal and cuda feature flags forwarded to qwen3-tts
  • CI matrix: macOS (Metal), Ubuntu (CPU), Windows (CPU)
  • Release builds: aarch64-apple-darwin, x86_64-apple-darwin, x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc

Test plan

  • cargo build --features metal (macOS)
  • cargo build (CPU-only)
  • cargo test --features metal — 116 tests pass
  • cargo fmt + cargo clippy — clean
  • CI passes on all 3 OS (macos, ubuntu, windows)
  • Manual test: vox "hello" on Linux

🤖 Generated with Claude Code

- Add qwen-native backend using qwen3-tts-rs (pure Rust, candle-based)
  with auto-device detection (CPU/Metal/CUDA)
- Replace afplay with rodio for cross-platform audio playback
- Gate say/qwen backends and chat/stt modules behind #[cfg(target_os = "macos")]
- Add feature flags: metal (macOS GPU), cuda (NVIDIA GPU)
- Platform-aware defaults: say on macOS, qwen-native on Linux/Windows
- CI matrix: macOS (Metal), Ubuntu (CPU), Windows (CPU)
- Release builds: aarch64-apple-darwin, x86_64-apple-darwin,
  x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc
- Platform-aware sox install hints (brew/apt/choco)
- Conditional tests: macOS-only tests gated, new qwen-native tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pszymkowiak pszymkowiak merged commit 1ec501f into main Feb 6, 2026
3 checks passed
@pszymkowiak pszymkowiak deleted the feat/cross-platform branch February 6, 2026 22:58
@github-actions github-actions Bot mentioned this pull request Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant