Skip to content

Commit 055e49b

Browse files
jokemanfiremxpv
authored andcommitted
fix ut test
Signed-off-by: jokemanfire <[email protected]>
1 parent 0a07bdd commit 055e49b

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(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(target_os = "linux")]
260261
mod tests {
261262
use std::sync::Arc;
262263

0 commit comments

Comments
 (0)