Review comments
This commit is contained in:
parent
f738abe63b
commit
caa9e4a2d0
3 changed files with 3 additions and 4 deletions
|
@ -56,8 +56,7 @@ cfg_if::cfg_if! {
|
||||||
mod real_imp;
|
mod real_imp;
|
||||||
} else {
|
} else {
|
||||||
// Targets that don't support unwinding.
|
// Targets that don't support unwinding.
|
||||||
// - arch=wasm32
|
// - family=wasm
|
||||||
// - arch=wasm64
|
|
||||||
// - os=none ("bare metal" targets)
|
// - os=none ("bare metal" targets)
|
||||||
// - os=uefi
|
// - os=uefi
|
||||||
// - os=espidf
|
// - os=espidf
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//! This is an implementation of a global allocator on the wasm platform when
|
//! 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
|
//! 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!
|
//! to lean on for allocation, so instead we provide our own!
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -479,7 +479,7 @@ mod lazy {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// On some platforms like wasm there's no threads, so no need to generate
|
/// On some targets like wasm there's no threads, so no need to generate
|
||||||
/// thread locals and we can instead just use plain statics!
|
/// thread locals and we can instead just use plain statics!
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[cfg(all(target_family = "wasm", not(target_feature = "atomics")))]
|
#[cfg(all(target_family = "wasm", not(target_feature = "atomics")))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue