Skip to content

Commit

Permalink
Use corrosion instead of CMakeRust
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Feb 19, 2024
1 parent 34c0e67 commit 0d8c415
Show file tree
Hide file tree
Showing 46 changed files with 30 additions and 2,780 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ tutorials
.prove
/target/
/.idea/
cargo
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "src/libshared"]
path = src/libshared
url = https://github.com/GothenburgBitFactory/libshared.git
[submodule "corrosion"]
path = corrosion
url = https://github.com/corrosion-rs/corrosion.git
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cmake_minimum_required (VERSION 3.0)
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_SOURCE_DIR}/cmake/CMakeRust/cmake")
cmake_minimum_required (VERSION 3.5)
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")

add_subdirectory(corrosion)

enable_language (Rust)
include (CMakeCargo)
include (CheckFunctionExists)
include (CheckStructHasMember)

Expand Down Expand Up @@ -138,7 +138,6 @@ configure_file (
add_subdirectory (src)
add_subdirectory (src/commands)
add_subdirectory (src/tc)
add_subdirectory (src/tc/rust)
add_subdirectory (src/columns)
add_subdirectory (doc)
add_subdirectory (scripts)
Expand Down
3 changes: 0 additions & 3 deletions cmake/CMakeRust/.github/CODEOWNERS

This file was deleted.

11 changes: 0 additions & 11 deletions cmake/CMakeRust/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions cmake/CMakeRust/CMakeLists.txt

This file was deleted.

202 changes: 0 additions & 202 deletions cmake/CMakeRust/LICENSE-APACHE

This file was deleted.

23 changes: 0 additions & 23 deletions cmake/CMakeRust/LICENSE-MIT

This file was deleted.

76 changes: 0 additions & 76 deletions cmake/CMakeRust/cmake/CMakeCargo.cmake

This file was deleted.

25 changes: 0 additions & 25 deletions cmake/CMakeRust/cmake/CMakeDetermineRustCompiler.cmake

This file was deleted.

Loading

0 comments on commit 0d8c415

Please sign in to comment.