From 4eb734c585b159cf01946b6063bc41cc8a3e8001 Mon Sep 17 00:00:00 2001 From: bendn Date: Thu, 10 Apr 2025 23:15:54 +0700 Subject: [PATCH 1/2] fix broken intra doc links --- crates/core_arch/src/x86/avx512fp16.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/core_arch/src/x86/avx512fp16.rs b/crates/core_arch/src/x86/avx512fp16.rs index 1d07c5515a..a191ebfcb3 100644 --- a/crates/core_arch/src/x86/avx512fp16.rs +++ b/crates/core_arch/src/x86/avx512fp16.rs @@ -264,8 +264,8 @@ pub fn _mm512_setzero_ph() -> __m512h { /// Return vector of type `__m128h` with indetermination elements. /// Despite using the word "undefined" (following Intel's naming scheme), this non-deterministically -/// picks some valid value and is not equivalent to [`mem::MaybeUninit`]. -/// In practice, this is typically equivalent to [`mem::zeroed`]. +/// picks some valid value and is not equivalent to [`mem::MaybeUninit`](crate::mem::MaybeUninit). +/// In practice, this is typically equivalent to [`mem::zeroed`](crate::mem::zeroed). /// /// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_undefined_ph) #[inline] @@ -277,8 +277,8 @@ pub fn _mm_undefined_ph() -> __m128h { /// Return vector of type `__m256h` with indetermination elements. /// Despite using the word "undefined" (following Intel's naming scheme), this non-deterministically -/// picks some valid value and is not equivalent to [`mem::MaybeUninit`]. -/// In practice, this is typically equivalent to [`mem::zeroed`]. +/// picks some valid value and is not equivalent to [`mem::MaybeUninit`](crate::mem::MaybeUninit). +/// In practice, this is typically equivalent to [`mem::zeroed`](crate::mem::zeroed). /// /// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_undefined_ph) #[inline] @@ -290,8 +290,8 @@ pub fn _mm256_undefined_ph() -> __m256h { /// Return vector of type `__m512h` with indetermination elements. /// Despite using the word "undefined" (following Intel's naming scheme), this non-deterministically -/// picks some valid value and is not equivalent to [`mem::MaybeUninit`]. -/// In practice, this is typically equivalent to [`mem::zeroed`]. +/// picks some valid value and is not equivalent to [`mem::MaybeUninit`](crate::mem::MaybeUninit). +/// In practice, this is typically equivalent to [`mem::zeroed`](crate::mem::zeroed). /// /// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_undefined_ph) #[inline] From 4a54bbcb32b54eac99e14d0018e9bc689a7aed73 Mon Sep 17 00:00:00 2001 From: bendn Date: Fri, 11 Apr 2025 12:07:45 +0700 Subject: [PATCH 2/2] hmm --- ci/dox.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/dox.sh b/ci/dox.sh index 0e4f24e864..f0ab9ebfc9 100755 --- a/ci/dox.sh +++ b/ci/dox.sh @@ -6,6 +6,8 @@ set -ex +export RUSTDOCFLAGS="-D warnings" + dox() { if [ "$CI" != "" ]; then rustup target add "${1}" || true @@ -38,4 +40,4 @@ if [ -z "$1" ]; then dox nvptx64-nvidia-cuda else dox "${1}" -fi \ No newline at end of file +fi