Files
client/.cargo/config.toml
T
omar eb24965076
ci / linux-arm64-cross (push) Successful in 4m7s
ci / linux-x64 (push) Successful in 4m42s
Implement Rust and Slint native client migration and fix desktop startup
2026-11-10 15:45:24 +03:00

18 lines
881 B
TOML

[env]
# audiopus_sys builds the bundled libopus with CMake. Its CMakeLists.txt declares a minimum
# version below 3.5, which CMake >= 4.0 refuses unless this policy floor is given.
CMAKE_POLICY_VERSION_MINIMUM = "3.5"
# Always build and statically link the bundled libopus (also on Linux, where audiopus_sys would
# otherwise link a system libopus found via pkg-config dynamically). Keeps release binaries
# self-contained and the shipped libopus version known for the notices file.
LIBOPUS_STATIC = "1"
LIBOPUS_NO_PKG = "1"
# Windows x64: link the MSVC C runtime statically so the binary imports only DLLs that ship
# with Windows 10+ (no VCRUNTIME140.dll). cc/cmake-rs see `crt-static` and build libopus with /MT.
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
[target.aarch64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]