From 67d99a9835a79bf34e6f5e08664b2a5e8f3a579b Mon Sep 17 00:00:00 2001 From: jpk68 Date: Wed, 12 Aug 2026 12:48:31 -0400 Subject: [PATCH] cmake: enable compiler caching support for rust libraries --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e6ce0fc53..6dee586df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,8 +69,7 @@ elseif (COMPILER_CACHE STREQUAL "auto") message(STATUS "Using sccache: ${SCCACHE}") set(CMAKE_C_COMPILER_LAUNCHER "${SCCACHE}") set(CMAKE_CXX_COMPILER_LAUNCHER "${SCCACHE}") - # Remove this line and uncomment the one below when FCMP++ Rust libraries are merged. - # set(ENV{RUSTC_WRAPPER} "${SCCACHE}") + set(ENV{RUSTC_WRAPPER} "${SCCACHE}") elseif (CCACHE) message(STATUS "Using ccache: ${CCACHE}") set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE}")