port in args and env. slightly different style

building up a bunch of deferred errors in the CtxBuilder sucks. so does
reporting errors right away. Idk what to do here?
This commit is contained in:
Pat Hickey
2020-12-11 15:33:15 -08:00
parent aef8be560f
commit d586574b1f
5 changed files with 86 additions and 8 deletions

View File

@@ -6,9 +6,11 @@ mod error;
mod file;
pub mod snapshots;
pub mod stdio;
mod string_array;
pub mod table;
pub use ctx::WasiCtx;
pub use dir::{DirCaps, WasiDir};
pub use error::Error;
pub use file::{FileCaps, WasiFile};
pub use string_array::StringArrayError;