Skip to content

Commit

Permalink
[ci] Disable Rust build on Windows for now
Browse files Browse the repository at this point in the history
It's experimental and the CI is better off reflecting the C/C++ build
status.
  • Loading branch information
grandchild committed Jun 29, 2024
1 parent 4bb0c9e commit 5cb8132
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ elseif(LINUX)
endif()
find_program(RUSTC rustc)
find_program(CARGO cargo)
if(NOT RUSTC)
if(WIN32) # Disable experimental Rust build on Windows for now, to make the CI green.
set(SKIP_RUST ON)
elseif(NOT RUSTC)
message(WARNING "Rust compiler not found. Rust code skipped.")
set(SKIP_RUST ON)
elseif(NOT CARGO)
Expand Down

0 comments on commit 5cb8132

Please sign in to comment.