This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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//!
Original file line number Diff line number Diff 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" ) ) ) ]
You can’t perform that action at this time.
0 commit comments