From cc25d761df03703589c545eb7ec8ea9b1cfe398f Mon Sep 17 00:00:00 2001 From: Yoh Deadfall Date: Sun, 20 Oct 2024 22:35:33 +0300 Subject: [PATCH] A comment for the fail-dep test Co-authored-by: Ralf Jung --- tests/fail-dep/libc/prctl-threadname.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/fail-dep/libc/prctl-threadname.rs b/tests/fail-dep/libc/prctl-threadname.rs index 3870bb5eee..4b731866ac 100644 --- a/tests/fail-dep/libc/prctl-threadname.rs +++ b/tests/fail-dep/libc/prctl-threadname.rs @@ -1,3 +1,5 @@ +//! Ensure we report UB when the buffer is smaller than 16 bytes (even if the thread +//! name would fit in the smaller buffer). //@only-target: android # Miri supports prctl for Android only fn main() {