Skip to content

Commit b08957b

Browse files
bjorn3gitbot
authored and
gitbot
committed
Update a bunch of comments from before wasi support was added
1 parent 30367af commit b08957b

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

std/src/sys/alloc/wasm.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! This is an implementation of a global allocator on wasm targets when
2-
//! emscripten is not in use. In that situation there's no actual runtime for us
3-
//! to lean on for allocation, so instead we provide our own!
2+
//! emscripten or wasi is not in use. In that situation there's no actual runtime
3+
//! for us to lean on for allocation, so instead we provide our own!
44
//!
55
//! The wasm instruction set has two instructions for getting the current
66
//! amount of memory and growing the amount of memory. These instructions are the

std/src/sys/pal/wasi/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
//! System bindings for the wasm/web platform
22
//!
33
//! This module contains the facade (aka platform-specific) implementations of
4-
//! OS level functionality for wasm. Note that this wasm is *not* the emscripten
5-
//! wasm, so we have no runtime here.
4+
//! OS level functionality for wasm.
65
//!
76
//! This is all super highly experimental and not actually intended for
87
//! wide/production use yet, it's still all in the experimental category. This

std/src/sys/pal/wasm/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! This module contains the facade (aka platform-specific) implementations of
44
//! OS level functionality for wasm. Note that this wasm is *not* the emscripten
5-
//! wasm, so we have no runtime here.
5+
//! or wasi wasm, so we have no runtime here.
66
//!
77
//! This is all super highly experimental and not actually intended for
88
//! wide/production use yet, it's still all in the experimental category. This

0 commit comments

Comments
 (0)