Merge pull request #11099

67d99a9 cmake: enable compiler caching support for rust libraries (jpk68)

ACKs: tobtoht, selsta
This commit is contained in:
tobtoht
2026-08-14 15:03:06 +00:00
+1 -2
View File
@@ -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}")