Trevor Elliott
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with
2 additions and
2 deletions
-
crates/wasi/src/preview2/host/clocks.rs
-
crates/wasi/src/preview2/host/env.rs
-
crates/wasi/src/preview2/host/exit.rs
-
crates/wasi/src/preview2/host/filesystem.rs
-
crates/wasi/src/preview2/host/filesystem/sync.rs
-
crates/wasi/src/preview2/host/io.rs
-
crates/wasi/src/preview2/host/mod.rs
-
crates/wasi/src/preview2/host/random.rs
-
crates/wasi/src/preview2/mod.rs
-
crates/wasi/src/preview2/preview1.rs
|
|
@ -20,11 +20,11 @@ pub mod command; |
|
|
|
mod ctx; |
|
|
|
mod error; |
|
|
|
mod filesystem; |
|
|
|
mod host; |
|
|
|
pub mod pipe; |
|
|
|
mod poll; |
|
|
|
#[cfg(feature = "preview1-on-preview2")] |
|
|
|
pub mod preview1; |
|
|
|
mod preview2; |
|
|
|
mod random; |
|
|
|
mod stdio; |
|
|
|
mod stream; |
|
|
|
|
|
@ -3,7 +3,7 @@ use crate::preview2::bindings::clocks::{monotonic_clock, wall_clock}; |
|
|
|
use crate::preview2::bindings::filesystem::{preopens, types as filesystem}; |
|
|
|
use crate::preview2::bindings::io::streams; |
|
|
|
use crate::preview2::filesystem::TableFsExt; |
|
|
|
use crate::preview2::preview2::filesystem::TableReaddirExt; |
|
|
|
use crate::preview2::host::filesystem::TableReaddirExt; |
|
|
|
use crate::preview2::{bindings, TableError, WasiView}; |
|
|
|
use anyhow::{anyhow, bail, Context}; |
|
|
|
use std::borrow::Borrow; |
|
|
|