This commit is contained in:
Pat Hickey
2021-03-24 11:35:20 -07:00
parent 1d663bfd71
commit df18b44c53

View File

@@ -27,6 +27,8 @@ witx_literal: "
errors: { errno => RichError }, errors: { errno => RichError },
}); });
impl_errno!(types::Errno);
/// When the `errors` mapping in witx is non-empty, we need to impl the /// When the `errors` mapping in witx is non-empty, we need to impl the
/// types::UserErrorConversion trait that wiggle generates from that mapping. /// types::UserErrorConversion trait that wiggle generates from that mapping.
impl<'a> types::UserErrorConversion for WasiCtx<'a> { impl<'a> types::UserErrorConversion for WasiCtx<'a> {