Skip to content

Commit 27a57fb

Browse files
committed
fix ut test
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
1 parent e9fee2d commit 27a57fb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

crates/runc/src/asynchronous/runc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ impl Spawner for DefaultExecutor {
320320
}
321321

322322
#[cfg(test)]
323+
#[cfg(all(target_os = "linux"))]
323324
mod tests {
324325
use std::sync::Arc;
325326

crates/runc/src/synchronous/runc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ impl Spawner for DefaultExecutor {
257257
}
258258

259259
#[cfg(test)]
260+
#[cfg(all(target_os = "linux"))]
260261
mod tests {
261262
use std::sync::Arc;
262263

0 commit comments

Comments
 (0)