Skip to content

Commit

Permalink
runtime: memory-map: depend on patched nonoverlapping_interval_tree v…
Browse files Browse the repository at this point in the history
…ia Cargo
  • Loading branch information
fw-immunant committed Sep 6, 2023
1 parent c6d2916 commit 0ce7e62
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 476 deletions.
2 changes: 1 addition & 1 deletion runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(IA2Runtime)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/release/libmemory_map.so
COMMAND CARGO_TARGET_DIR=${CMAKE_CURRENT_BINARY_DIR} cargo build --manifest-path ${CMAKE_CURRENT_SOURCE_DIR}/memory-map/Cargo.toml --release
DEPENDS memory-map/Cargo.toml memory-map/src/lib.rs memory-map/src/disjoint_interval_tree.rs
DEPENDS memory-map/Cargo.toml memory-map/src/lib.rs
)

add_library(memory-map STATIC IMPORTED)
Expand Down
1 change: 1 addition & 0 deletions runtime/memory-map/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ crate_type = ["cdylib"]

[dependencies]
libc_alloc = "1.0.5"
nonoverlapping_interval_tree = { git = "https://github.com/fw-immunant/non-overlapping-interval-tree.git", branch = "ia2", default_features = false }

[profile.dev]
panic = "abort"
Expand Down
Loading

0 comments on commit 0ce7e62

Please sign in to comment.