Add a comment

This commit is contained in:
Alexey Milovidov 2023-07-25 07:00:14 +02:00
parent 44b49fe8db
commit 396f5f0edd

View File

@ -18,6 +18,7 @@ endif()
message(STATUS "Checking Rust toolchain for current target")
# See https://doc.rust-lang.org/nightly/rustc/platform-support.html
if((CMAKE_TOOLCHAIN_FILE MATCHES "linux/toolchain-x86_64") AND (CMAKE_TOOLCHAIN_FILE MATCHES "musl"))
set(Rust_CARGO_TARGET "x86_64-unknown-linux-musl")
elseif(CMAKE_TOOLCHAIN_FILE MATCHES "linux/toolchain-x86_64")