File tree 3 files changed +3
-4
lines changed
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! {
56
56
mod real_imp;
57
57
} else {
58
58
// Targets that don't support unwinding.
59
- // - arch=wasm32
60
- // - arch=wasm64
59
+ // - family=wasm
61
60
// - os=none ("bare metal" targets)
62
61
// - os=uefi
63
62
// - 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
2
2
//! emscripten is not in use. In that situation there's no actual runtime for us
3
3
//! to lean on for allocation, so instead we provide our own!
4
4
//!
Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ mod lazy {
479
479
}
480
480
}
481
481
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
483
483
/// thread locals and we can instead just use plain statics!
484
484
#[ doc( hidden) ]
485
485
#[ cfg( all( target_family = "wasm" , not( target_feature = "atomics" ) ) ) ]
You can’t perform that action at this time.
0 commit comments