Skip to content

Commit

Permalink
tests: Feature gate test
Browse files Browse the repository at this point in the history
  • Loading branch information
theduke committed Sep 16, 2024
1 parent 2cd732e commit e551595
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/wasix/src/runners/wasi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ mod tests {
assert_sync::<WasiRunner>();
}

#[cfg(all(feature = "host-fs", feature = "sys"))]
#[tokio::test]
async fn test_volume_mount_without_webcs() {
use std::sync::Arc;
Expand Down Expand Up @@ -484,6 +485,7 @@ mod tests {
fs.read_dir(&std::path::Path::new("/host")).unwrap();
}

#[cfg(all(feature = "host-fs", feature = "sys"))]
#[tokio::test]
async fn test_volume_mount_with_webcs() {
use std::sync::Arc;
Expand Down

0 comments on commit e551595

Please sign in to comment.