Skip to content

Commit bb73cc5

Browse files
committed
edits
1 parent 0ef4dd4 commit bb73cc5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ set(RUST_STAMP_FILE "${CMAKE_BINARY_DIR}/.rust-toolchain.stamp")
6969
add_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
)

0 commit comments

Comments
 (0)