Browse Source

Rename `preview2::preview2` to `preview2::host` (#6847)

pull/6849/head
Trevor Elliott 1 year ago
committed by GitHub
parent
commit
88698a6748
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      crates/wasi/src/preview2/host/clocks.rs
  2. 0
      crates/wasi/src/preview2/host/env.rs
  3. 0
      crates/wasi/src/preview2/host/exit.rs
  4. 0
      crates/wasi/src/preview2/host/filesystem.rs
  5. 0
      crates/wasi/src/preview2/host/filesystem/sync.rs
  6. 0
      crates/wasi/src/preview2/host/io.rs
  7. 0
      crates/wasi/src/preview2/host/mod.rs
  8. 0
      crates/wasi/src/preview2/host/random.rs
  9. 2
      crates/wasi/src/preview2/mod.rs
  10. 2
      crates/wasi/src/preview2/preview1.rs

0
crates/wasi/src/preview2/preview2/clocks.rs → crates/wasi/src/preview2/host/clocks.rs

0
crates/wasi/src/preview2/preview2/env.rs → crates/wasi/src/preview2/host/env.rs

0
crates/wasi/src/preview2/preview2/exit.rs → crates/wasi/src/preview2/host/exit.rs

0
crates/wasi/src/preview2/preview2/filesystem.rs → crates/wasi/src/preview2/host/filesystem.rs

0
crates/wasi/src/preview2/preview2/filesystem/sync.rs → crates/wasi/src/preview2/host/filesystem/sync.rs

0
crates/wasi/src/preview2/preview2/io.rs → crates/wasi/src/preview2/host/io.rs

0
crates/wasi/src/preview2/preview2/mod.rs → crates/wasi/src/preview2/host/mod.rs

0
crates/wasi/src/preview2/preview2/random.rs → crates/wasi/src/preview2/host/random.rs

2
crates/wasi/src/preview2/mod.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;

2
crates/wasi/src/preview2/preview1.rs

@ -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;

Loading…
Cancel
Save