mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
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.
14 lines
674 B
TOML
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"
|