hex/.cargo/config.toml
Luke Parker b85c21e7ec feat: Windows beta with streaming dictation, Hold/Toggle shortcut mode, and release pipeline
Ports the windows-shell branch onto main, adds a GPU streaming finish for Parakeet Unified English with a whole-clip fallback, a cross-platform Hold/Toggle shortcut mode, x64 and ARM64 Windows CI and release feeds, and the website Windows download.
2026-10-19 10:59:47 +10:00

14 lines
674 B
TOML

# Windows builds link the C and C++ runtimes statically, so hex.exe starts on
# a clean PC without the Visual C++ Redistributable.
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
[target.aarch64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
# transcribe-cpp's CMake build defaults to the DLL runtime (/MD) even when Rust
# links statically, so pin its MSVC runtime to match. transcribe-cpp-sys reads
# CMAKE_ARGS beside TRANSCRIBE_CMAKE_ARGS, which stays free for per-build flags
# such as -DGGML_NATIVE=OFF. Compilers other than MSVC ignore this define.
[env]
CMAKE_ARGS = "-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded"