Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update corrosion to v0.5.0
  • Loading branch information
anonrig committed Nov 5, 2024
commit 06fc459bf003402c3ae98066584b9f0d21f24f72
5 changes: 2 additions & 3 deletions benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,14 @@ if(NOT WIN32)
FetchContent_Declare(
corrosion
GIT_REPOSITORY https://github.com/corrosion-rs/corrosion.git
GIT_TAG v0.4.4
GIT_TAG v0.5.0
)
set(Rust_FIND_QUIETLY OFF CACHE BOOL "")
FetchContent_MakeAvailable(corrosion)
include("${corrosion_SOURCE_DIR}/cmake/FindRust.cmake")
endif()

if(RUST_FOUND)
message(STATUS "Rust found: " ${Rust_VERSION} )
FetchContent_MakeAvailable(corrosion)
add_subdirectory("${corrosion_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/corrosion" EXCLUDE_FROM_ALL)
# Important: we want to build in release mode!
corrosion_import_crate(MANIFEST_PATH "competitors/servo-url/Cargo.toml" NO_LINKER_OVERRIDE PROFILE release)
Expand Down
Loading