Skip to content

Commit caa9e4a

Browse files
committed
Review comments
1 parent f738abe commit caa9e4a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

library/panic_unwind/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ cfg_if::cfg_if! {
5656
mod real_imp;
5757
} else {
5858
// Targets that don't support unwinding.
59-
// - arch=wasm32
60-
// - arch=wasm64
59+
// - family=wasm
6160
// - os=none ("bare metal" targets)
6261
// - os=uefi
6362
// - os=espidf

library/std/src/sys/wasm/alloc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! This is an implementation of a global allocator on the wasm platform when
1+
//! This is an implementation of a global allocator on wasm targets when
22
//! emscripten is not in use. In that situation there's no actual runtime for us
33
//! to lean on for allocation, so instead we provide our own!
44
//!

library/std/src/thread/local.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ mod lazy {
479479
}
480480
}
481481

482-
/// On some platforms like wasm there's no threads, so no need to generate
482+
/// On some targets like wasm there's no threads, so no need to generate
483483
/// thread locals and we can instead just use plain statics!
484484
#[doc(hidden)]
485485
#[cfg(all(target_family = "wasm", not(target_feature = "atomics")))]

0 commit comments

Comments
 (0)