Skip to content

Commit

Permalink
Fix FindRust error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwe committed Sep 21, 2024
1 parent 3db4ffd commit 99304ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindRust.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ if(Rust_TOOLCHAIN_IS_RUSTUP_MANAGED)
message(STATUS "Installed target ${Rust_CARGO_TARGET_CACHED} successfully.")
else()
message(FATAL_ERROR "Target ${Rust_CARGO_TARGET_CACHED} is not installed for toolchain ${Rust_TOOLCHAIN}.\n"
"Help: Run `rustup target add --toolchain ${Rust_TOOLCHAIN} ${Rust_CARGO_TARGET}` to install "
"Help: Run `rustup target add --toolchain ${Rust_TOOLCHAIN} ${Rust_CARGO_TARGET_CACHED}` to install "
"the missing target or configure corrosion with `Rust_RUSTUP_INSTALL_MISSING_TARGET=ON`."
)
endif()
Expand Down

0 comments on commit 99304ec

Please sign in to comment.