1#![warn(clippy::arithmetic_side_effects)]
23mod alloc;
4mod backtrace;
5mod files;
6#[cfg(unix)]
7mod native_lib;
8mod unix;
9mod wasi;
10mod windows;
11mod x86;
1213pub mod env;
14pub mod extern_static;
15pub mod foreign_items;
16pub mod io_error;
17pub mod os_str;
18pub mod panic;
19pub mod time;
20pub mod tls;
2122pub use self::files::FdTable;
23pub use self::unix::{DirTable, EpollInterestTable};
2425/// What needs to be done after emulating an item (a shim or an intrinsic) is done.
26pub enum EmulateItemResult {
27/// The caller is expected to jump to the return block.
28NeedsReturn,
29/// The caller is expected to jump to the unwind block.
30NeedsUnwind,
31/// Jumping to the next block has already been taken care of.
32AlreadyJumped,
33/// The item is not supported.
34NotSupported,
35}