also expose WasiCtxBuilder

This commit is contained in:
Léo Gaspard
2021-01-13 04:09:32 +01:00
parent 81065eba38
commit 7303793fa0
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ mod string_array;
pub mod table; pub mod table;
pub mod virt; pub mod virt;
pub use ctx::WasiCtx; pub use ctx::{WasiCtx, WasiCtxBuilder};
pub use dir::{DirCaps, WasiDir}; pub use dir::{DirCaps, WasiDir};
pub use error::Error; pub use error::Error;
pub use file::{FileCaps, WasiFile}; pub use file::{FileCaps, WasiFile};

View File

@@ -1,4 +1,4 @@
pub use wasi_c2::WasiCtx; pub use wasi_c2::{WasiCtx, WasiCtxBuilder};
// Defines a `struct Wasi` with member fields and appropriate APIs for dealing // Defines a `struct Wasi` with member fields and appropriate APIs for dealing
// with all the various WASI exports. // with all the various WASI exports.