about summary refs log tree commit diff
path: root/library/std/src/sys/alloc
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-01-23 19:07:24 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-01-24 09:25:34 +0000
commita20996c180107a676306c3623add30811f9b40a7 (patch)
treeb20e9b530d965f3e4ef02faab86a63d3ed411bcc /library/std/src/sys/alloc
parent88ff147c567656bc033eb7a1441b173d235ac465 (diff)
downloadrust-a20996c180107a676306c3623add30811f9b40a7.tar.gz
rust-a20996c180107a676306c3623add30811f9b40a7.zip
Update a bunch of comments from before wasi support was added
Diffstat (limited to 'library/std/src/sys/alloc')
-rw-r--r--library/std/src/sys/alloc/wasm.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/alloc/wasm.rs b/library/std/src/sys/alloc/wasm.rs
index a308fafc68b..53fbc9529e5 100644
--- a/library/std/src/sys/alloc/wasm.rs
+++ b/library/std/src/sys/alloc/wasm.rs
@@ -1,6 +1,6 @@
 //! This is an implementation of a global allocator on wasm targets when
-//! emscripten is not in use. In that situation there's no actual runtime for us
-//! to lean on for allocation, so instead we provide our own!
+//! emscripten or wasi is not in use. In that situation there's no actual runtime
+//! for us to lean on for allocation, so instead we provide our own!
 //!
 //! The wasm instruction set has two instructions for getting the current
 //! amount of memory and growing the amount of memory. These instructions are the