hex/.cargo/config.toml
Dax Raad 9b54e3859a build(rune-ui): depend on public Rune over HTTPS
Rune is public under MIT with a fresh history; pin its new root 7eea3a3
over https, drop the SSH-only git-fetch-with-cli, add Rune's Nix output
hash, run clippy and the rune_ui tests in Check Linux, and run the check
workflows on rune-ui pushes. docs/plans/rune-dependency.md records why.
2026-10-22 14:54:27 -04: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"