Skip to content

Commit cf48233

Browse files
committed
test: refactor tests/simulator to compile more with cargo
* Build C files from build.rs script and remove "bitbox_merged" hack. * Move cmake specifics out of build.rs. * Rust functions exposed as a C api has been moved to the respective crates to remove circular dependencies.
1 parent c1d67a8 commit cf48233

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+3331
-7815
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ message(FATAL_ERROR
8383
endif()
8484

8585
# Finds objcopy and other utilities for us
86+
include(CMakeFindBinUtils)
8687
if(CMAKE_CROSSCOMPILING)
87-
include(CMakeFindBinUtils)
8888
find_program(CMAKE_SIZE "${TOOLCHAIN_PREFIX}size")
8989
message(STATUS "size: ${CMAKE_SIZE} ${TOOLCHAIN_PREFIX}size")
9090
endif()
@@ -389,7 +389,6 @@ if(CMAKE_CROSSCOMPILING)
389389
add_dependencies(doc rust-docs)
390390
else()
391391
include(CTest)
392-
add_subdirectory(test/hardware-fakes)
393392
add_subdirectory(test/unit-test)
394393
add_subdirectory(test/simulator)
395394
if(COVERAGE)

external/vendor/cc-1.0.79/.cargo-checksum.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

external/vendor/cc-1.0.79/Cargo.lock

Lines changed: 0 additions & 110 deletions
This file was deleted.

external/vendor/cc-1.0.79/Cargo.toml

Lines changed: 0 additions & 39 deletions
This file was deleted.

external/vendor/cc-1.0.79/README.md

Lines changed: 0 additions & 223 deletions
This file was deleted.

0 commit comments

Comments
 (0)