Skip to content

Commit

Permalink
disable capi tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
chrjabs committed Jan 9, 2024
1 parent 7ef6df4 commit 127fb78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rustsat/src/capi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ pub mod encodings {
drop(unsafe { Box::from_raw(tot) })
}

#[cfg(test)]
// TODO: figure out how to get these to work on windows
#[cfg(all(test, not(target_os = "windows")))]
mod tests {
use inline_c::assert_c;

Expand Down Expand Up @@ -419,7 +420,8 @@ pub mod encodings {
drop(unsafe { Box::from_raw(dpw) })
}

#[cfg(test)]
// TODO: figure out how to get these to work on windows
#[cfg(all(test, not(target_os = "windows")))]
mod tests {
use inline_c::assert_c;

Expand Down

0 comments on commit 127fb78

Please sign in to comment.