Skip to content

Commit 79aa2a5

Browse files
committed
Ioctl does not need engine.
1 parent 319c4be commit 79aa2a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/opte/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ extern crate self as opte;
3030
use alloc::boxed::Box;
3131
use core::fmt;
3232
use core::fmt::Display;
33+
#[cfg(any(feature = "engine", test))]
3334
use engine::stat::StatTree;
3435

3536
pub use ingot;
@@ -255,6 +256,7 @@ pub struct ExecCtx {
255256
pub log: Box<dyn LogProvider>,
256257
}
257258

259+
#[cfg(any(feature = "engine", test))]
258260
pub(crate) struct ExecCtx2<'a> {
259261
pub user_ctx: &'a ExecCtx,
260262
pub stats: &'a mut StatTree,

0 commit comments

Comments
 (0)