188
188
/// * [`powerpc`]
189
189
/// * [`powerpc64`]
190
190
/// * [`nvptx`]
191
+ /// * [`wasm32`]
191
192
///
192
193
/// [`x86`]: x86/index.html
193
194
/// [`x86_64`]: x86_64/index.html
198
199
/// [`powerpc`]: powerpc/index.html
199
200
/// [`powerpc64`]: powerpc64/index.html
200
201
/// [`nvptx`]: nvptx/index.html
202
+ /// [`wasm32`]: wasm32/index.html
201
203
///
202
204
/// # Examples
203
205
///
@@ -362,10 +364,6 @@ pub mod arch {
362
364
#[ unstable( feature = "stdsimd" , issue = "27731" ) ]
363
365
pub use coresimd:: arch:: aarch64;
364
366
365
- #[ cfg( target_arch = "wasm32" ) ]
366
- #[ unstable( feature = "stdsimd" , issue = "27731" ) ]
367
- pub use coresimd:: arch:: wasm32;
368
-
369
367
#[ cfg( all( not( dox) , target_arch = "mips" ) ) ]
370
368
#[ unstable( feature = "stdsimd" , issue = "27731" ) ]
371
369
pub use coresimd:: arch:: mips;
@@ -386,6 +384,10 @@ pub mod arch {
386
384
#[ unstable( feature = "stdsimd" , issue = "27731" ) ]
387
385
pub use coresimd:: arch:: nvptx;
388
386
387
+ #[ cfg( all( not( dox) , target_arch = "wasm32" ) ) ]
388
+ #[ unstable( feature = "stdsimd" , issue = "27731" ) ]
389
+ pub use coresimd:: arch:: wasm32;
390
+
389
391
#[ doc( hidden) ] // unstable implementation detail
390
392
#[ unstable( feature = "stdsimd" , issue = "27731" ) ]
391
393
pub mod detect;
@@ -497,4 +499,16 @@ pub mod arch {
497
499
#[ doc( cfg( any( target_arch = "nvptx" , target_arch = "nvptx64" ) ) ) ]
498
500
#[ unstable( feature = "stdsimd" , issue = "27731" ) ]
499
501
pub mod nvptx { }
502
+
503
+ /// Platform-specific intrinsics for the `wasm32` platform.
504
+ ///
505
+ /// The documentation with the full listing of `wasm32` intrinsics is
506
+ /// available in [libcore], but the module is re-exported here in std
507
+ /// as well.
508
+ ///
509
+ /// [libcore]: ../../../core/arch/wasm32/index.html
510
+ #[ cfg( dox) ]
511
+ #[ doc( cfg( target_arch = "wasm32" ) ) ]
512
+ #[ unstable( feature = "stdsimd" , issue = "27731" ) ]
513
+ pub mod wasm32 { }
500
514
}
0 commit comments