#[cfg_attr(not(target_arch = "wasm32"), allow(dead_code))]
pub(crate) const WRITE_BUDGET: u64 = 64 << 10;
#[cfg_attr(not(target_arch = "wasm32"), allow(dead_code))]
pub(crate) const BLOCKING_WRITE_LIMIT: u64 = 4096;
#[cfg_attr(not(target_arch = "wasm32"), allow(dead_code))]
pub(crate) const RANDOM_BYTES_LIMIT: u64 = 64 << 20;
#[cfg(all(test, feature = "wasmtime-host"))]
mod tests {
#[test]
fn the_random_limit_is_wasmtime_s() {
assert_eq!(
super::RANDOM_BYTES_LIMIT,
wasmtime_wasi::random::DEFAULT_MAX_SIZE
);
}
}