Skip to content

Commit

Permalink
Try to fix gcc_s compile issue on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jan 4, 2025
1 parent 18a9934 commit 58ee1f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ set(ENV{CARGO_NET_OFFLINE} true)
add_subdirectory(lib/corrosion)
# don't try to link to gcc_s, its not needed anyway
list(REMOVE_ITEM Rust_CARGO_TARGET_LINK_NATIVE_LIBS "gcc_s")
set(Rust_CARGO_TARGET_LINK_NATIVE_LIBS ${Rust_CARGO_TARGET_LINK_NATIVE_LIBS} CACHE INTERNAL "")

if(Rust_VERSION VERSION_LESS "1.68.0" AND NOT IGNORE_RUST_VERSION)
message(FATAL_ERROR "Rust >= 1.68.0 is required")
Expand Down

0 comments on commit 58ee1f3

Please sign in to comment.