Files
oh-my-pi/.cargo
Slava Zavadsky 7423339281 fix(build): set CMAKE_POLICY_VERSION_MINIMUM for audiopus_sys in cargo env
audiopus_sys 0.2.2 builds its vendored Opus via the cmake crate, and the
bundled opus CMakeLists still declares cmake_minimum_required(VERSION 3.1).
CMake 4.0 removed compatibility with < 3.5, so any dev host with a modern
cmake fails cargo check/clippy on pi-voice with 'Compatibility with CMake
< 3.5 has been removed from CMake.'

The bazel build already sets this override for the same crate (audiopus_sys
annotation in MODULE.bazel); mirror it in .cargo/config.toml so the cargo
path (bun check:rs) works on CMake 4.x hosts too.
2026-08-09 11:45:39 -04:00
..