Skip to content

Commit

Permalink
Skip the stack tests on Windows.
Browse files Browse the repository at this point in the history
As Windows uses the native fiber implementation, the stack tests should be
ignored on Windows as the implementation intentionally errors when handing out
stacks.
  • Loading branch information
peterhuene committed Feb 12, 2021
1 parent 9fe7be4 commit 80c1804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/runtime/src/instance/allocator/pooling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,7 @@ mod test {
Ok(())
}

#[cfg(target_pointer_width = "64")]
#[cfg(all(unix, target_pointer_width = "64"))]
#[test]
fn test_stack_pool() -> Result<(), String> {
let pool = StackPool::new(
Expand Down Expand Up @@ -1680,7 +1680,7 @@ mod test {
}

#[cfg_attr(target_arch = "aarch64", ignore)] // https://github.com/bytecodealliance/wasmtime/pull/2518#issuecomment-747280133
#[cfg(unix)]
#[cfg(all(unix, target_pointer_width = "64"))]
#[test]
fn test_stack_zeroed() -> Result<(), String> {
let allocator = PoolingInstanceAllocator::new(
Expand Down

0 comments on commit 80c1804

Please sign in to comment.