diff --git a/crates/wasi-common/src/wasi.rs b/crates/wasi-common/src/wasi.rs index 4ab77ec3b2..f35055ffa8 100644 --- a/crates/wasi-common/src/wasi.rs +++ b/crates/wasi-common/src/wasi.rs @@ -40,7 +40,7 @@ impl From for Errno { InFunc { .. } => Self::Inval, InDataField { .. } => Self::Inval, SliceLengthsDiffer { .. } => Self::Fault, - BorrowCheckerOOM { .. } => Self::Fault, + BorrowCheckerOutOfHandles { .. } => Self::Fault, } } }