Clarify documentation about wasm32 target_feature gates
This commit is contained in:
parent
9b3358fc66
commit
6f8baeb427
1 changed files with 7 additions and 0 deletions
|
|
@ -57,6 +57,13 @@ pub mod arch {
|
|||
|
||||
/// Platform-specific intrinsics for the `wasm32` platform.
|
||||
///
|
||||
|
||||
/// # Availability
|
||||
///
|
||||
/// Note that intrinsics gated by `target_feature = "atomics"` or `target_feature = "simd128"`
|
||||
/// are only available **when the standard library itself is compiled with the the respective
|
||||
/// target feature**. This version of the standard library is not obtainable via `rustup`,
|
||||
/// but rather will require the standard library to be compiled from source.
|
||||
/// See the [module documentation](../index.html) for more details.
|
||||
#[cfg(any(target_arch = "wasm32", dox))]
|
||||
#[doc(cfg(target_arch = "wasm32"))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue