Skip to content

Commit 4b71596

Browse files
committed
Ioctl does not need engine.
1 parent d084d33 commit 4b71596

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
@@ -31,6 +31,7 @@ extern crate self as opte;
3131
use alloc::boxed::Box;
3232
use core::fmt;
3333
use core::fmt::Display;
34+
#[cfg(any(feature = "engine", test))]
3435
use engine::stat::StatTree;
3536

3637
pub use ingot;
@@ -258,6 +259,7 @@ pub struct ExecCtx {
258259
pub log: Box<dyn LogProvider>,
259260
}
260261

262+
#[cfg(any(feature = "engine", test))]
261263
pub(crate) struct ExecCtx2<'a> {
262264
pub user_ctx: &'a ExecCtx,
263265
pub stats: &'a mut StatTree,

0 commit comments

Comments
 (0)