#![allow(clippy::cast_sign_loss)]
cfg_if::cfg_if! {
if #[cfg(miri)] {
mod miri;
pub use miri::*;
} else if #[cfg(windows)] {
mod windows;
pub use windows::*;
} else if #[cfg(unix)] {
mod unix;
pub use unix::*;
} else if #[cfg(wasmtime_custom_platform)] {
mod custom;
pub use custom::*;
} else {
compile_error!(
"Wasmtime is being compiled for a platform \
that it does not support. If this platform is \
one you would like to see supported you may file an \
issue on Wasmtime's issue tracker: \
https://github.com/bytecodealliance/wasmtime/issues/new\
");
}
}