diff --git a/library/stdarch/README.md b/library/stdarch/README.md index d84867be313d..d8e5b22c62dc 100644 --- a/library/stdarch/README.md +++ b/library/stdarch/README.md @@ -12,6 +12,8 @@ This is a **work in progress**. * [Documentation - x86\_64][x86_64] * [Documentation - arm][arm] * [Documentation - aarch64][aarch64] +* [Documentation - powerpc][powerpc] +* [Documentation - powerpc64][powerpc64] * [How to get started][contrib] * [How to help implement intrinsics][help-implement] @@ -21,6 +23,8 @@ This is a **work in progress**. [x86_64]: https://rust-lang-nursery.github.io/stdsimd/x86_64/stdsimd/ [arm]: https://rust-lang-nursery.github.io/stdsimd/arm/stdsimd/ [aarch64]: https://rust-lang-nursery.github.io/stdsimd/aarch64/stdsimd/ +[powerpc]: https://rust-lang-nursery.github.io/stdsimd/powerpc/stdsimd/ +[powerpc64]: https://rust-lang-nursery.github.io/stdsimd/powerpc64/stdsimd/ ### Approach diff --git a/library/stdarch/ci/dox.sh b/library/stdarch/ci/dox.sh index f70e8cc93a1d..04169fcf99ba 100755 --- a/library/stdarch/ci/dox.sh +++ b/library/stdarch/ci/dox.sh @@ -24,6 +24,10 @@ dox() { cargo build --target $target + rustdoc --target $target \ + -o target/doc/$arch coresimd/src/lib.rs \ + --crate-name coresimd \ + --library-path target/$target/debug/deps rustdoc --target $target \ -o target/doc/$arch src/lib.rs \ --crate-name stdsimd \ diff --git a/library/stdarch/src/lib.rs b/library/stdarch/src/lib.rs index 89745d916180..e61063126580 100644 --- a/library/stdarch/src/lib.rs +++ b/library/stdarch/src/lib.rs @@ -7,6 +7,8 @@ //! * [`x86_64`](https://rust-lang-nursery.github.io/stdsimd/x86_64/stdsimd/) //! * [arm](https://rust-lang-nursery.github.io/stdsimd/arm/stdsimd/) //! * [aarch64](https://rust-lang-nursery.github.io/stdsimd/aarch64/stdsimd/) +//! * [powerpc](https://rust-lang-nursery.github.io/stdsimd/powerpc/stdsimd/) +//! * [powerpc64](https://rust-lang-nursery.github.io/stdsimd/powerpc64/stdsimd/) //! //! # Overview //! @@ -137,6 +139,7 @@ pub use coresimd::__unstable_detect_feature; /// Platform dependent vendor intrinsics. pub mod vendor { + #[doc(inline)] pub use coresimd::vendor::*; } @@ -152,6 +155,7 @@ pub mod __vendor_runtime { /// Platform independent SIMD vector types and operations. pub mod simd { + #[doc(inline)] pub use coresimd::simd::*; }