Skip to content

Commit

Permalink
Don't Build clf on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Sep 10, 2023
1 parent 29af7f3 commit 6802065
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ memoffset = "0.9.0"
lazy_static = "1.4.0"
dirs = "5.0.1"
errno = "0.3.3"
clf = "0.1.7"

[dev-dependencies]
rstest = "0.18.1"
Expand All @@ -35,6 +34,7 @@ mach = "0.3.2"

[target.'cfg(not(target_os = "windows"))'.dependencies]
mmap-rs = "0.6.0"
clf = "0.1.7"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.48.0"
Expand Down
1 change: 0 additions & 1 deletion src-rust/src/utilities/map_parser_utilities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ impl MemoryMapEntryTrait for MemoryMapEntry {
/// # Arguments
///
/// * `regions` - A slice of MemoryMapEntry that contains the regions.
///
pub fn get_free_regions<T: MemoryMapEntryTrait>(regions: &[T]) -> Vec<MemoryMapEntry> {
let mut last_end_address: usize = 0;
let mut free_regions = Vec::with_capacity(regions.len() + 2); // +2 for start and finish
Expand Down

0 comments on commit 6802065

Please sign in to comment.