wasi-common fixes

This commit is contained in:
Pat Hickey
2020-05-20 09:43:49 -07:00
parent 04fb4acc6a
commit b130a64d19
2 changed files with 36 additions and 26 deletions

View File

@@ -40,6 +40,7 @@ impl From<wiggle::GuestError> for Errno {
InFunc { .. } => Self::Inval,
InDataField { .. } => Self::Inval,
SliceLengthsDiffer { .. } => Self::Fault,
BorrowCheckerOOM { .. } => Self::Fault,
}
}
}