Skip to content

Commit

Permalink
More internal comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Feb 29, 2024
1 parent 75c4553 commit dc2d743
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,21 @@
#[cfg(feature = "std")]
extern crate std;

// These modules are all auto-generated by `./ci/regenerate.sh`
mod bindings;
#[allow(unused_imports)]
mod command;
#[allow(unused_imports)]
mod proxy;

// generated bindings start with the package namespace, which in this case is
// `wasi`, but the crate is already called wasi, so lift everything up one level
// to the root of this crate.
pub use bindings::wasi::*;

// Expand the `cli` and `http` modules with `export!` macros for the
// command/proxy worlds, but also retain all the contents defined in the
// `bindings` module as well.
pub mod cli {
pub use super::bindings::wasi::cli::*;

Expand Down

0 comments on commit dc2d743

Please sign in to comment.