Skip to content

Commit

Permalink
Treat windows gnullvm same as gnu for implib name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwe committed Aug 25, 2024
1 parent 0335bac commit 5d9a443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Corrosion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ function(_corrosion_add_library_target)
set(is_windows TRUE)
if(Rust_CARGO_TARGET_ENV STREQUAL "msvc")
set(is_windows_msvc TRUE)
elseif(Rust_CARGO_TARGET_ENV STREQUAL "gnu")
elseif(Rust_CARGO_TARGET_ENV STREQUAL "gnu" OR Rust_CARGO_TARGET_ENV STREQUAL "gnullvm")
set(is_windows_gnu TRUE)
endif()
elseif(Rust_CARGO_TARGET_OS STREQUAL "darwin")
Expand Down

0 comments on commit 5d9a443

Please sign in to comment.