Make the main wasi module cfg(not(doc)).

This commit is contained in:
Dan Gohman 2021-02-24 10:43:50 -08:00
parent 0208fca342
commit e66e263544

View File

@ -41,6 +41,10 @@
#[cfg(any(target_os = "linux", target_os = "l4re"))]
pub mod linux;
#[cfg(not(doc))]
#[cfg(target_os = "wasi")]
pub mod wasi;
#[cfg(target_os = "android")]
pub mod android;
#[cfg(target_os = "dragonfly")]
@ -71,7 +75,5 @@
pub mod solaris;
#[cfg(target_os = "vxworks")]
pub mod vxworks;
#[cfg(target_os = "wasi")]
pub mod wasi;
pub mod raw;