File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ set(RUST_STAMP_FILE "${CMAKE_BINARY_DIR}/.rust-toolchain.stamp")
6969add_custom_command (
7070 OUTPUT "${RUST_STAMP_FILE} "
7171 COMMAND rustup toolchain install ${RUST_STABLE_VERSION}
72+ COMMAND rustup toolchain install nightly-2026-05-13 --component rustc-dev
7273 COMMAND ${CMAKE_COMMAND} -E touch "${RUST_STAMP_FILE} "
7374 DEPENDS "${CMAKE_CURRENT_SOURCE_DIR} /cmake/rust-toolchain.cmake"
7475 USES_TERMINAL
@@ -185,8 +186,7 @@ add_custom_command(
185186 COMMAND cargo +${RUST_STABLE_VERSION} build --release --manifest-path "${PROJECT_SOURCE_DIR} /rules/Cargo.toml"
186187 COMMAND ${CMAKE_COMMAND} -E env
187188 CARGO_TARGET_DIR= "${CMAKE_CURRENT_BINARY_DIR} /target_preprocessor"
188- cargo +nightly-2026-05-13 run --component rustc-dev
189- --manifest-path "${PROJECT_SOURCE_DIR} /rule-preprocessor/Cargo.toml"
189+ cargo +nightly-2026-05-13 run --manifest-path "${PROJECT_SOURCE_DIR} /rule-preprocessor/Cargo.toml"
190190 DEPENDS ${rust_rules_inputs} ${rule_preprocessor_sources} "${RUST_STAMP_FILE} "
191191 VERBATIM
192192)
You can’t perform that action at this time.
0 commit comments