trap proc_exit and unsupported funcs
This commit is contained in:
@@ -34,6 +34,10 @@ pub enum Error {
|
||||
#[error("Unexpected IoError: {0}")]
|
||||
UnexpectedIo(#[source] std::io::Error),
|
||||
|
||||
/// An unsupported feature of Wasi was used. This error will trap.
|
||||
#[error("Unsupported feature: {0}")]
|
||||
Unsupported(&'static str),
|
||||
|
||||
// Below this, all variants are from the `$errno` type:
|
||||
/// Errno::TooBig: Argument list too long
|
||||
#[error("TooBig: Argument list too long")]
|
||||
|
||||
Reference in New Issue
Block a user