[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <79821f85-9e95-4426-8b1f-8752f8683dc9@gmail.com>
Date: Mon, 11 Aug 2025 15:20:22 -0300
From: AI Talking about AI <aitalkingai@...il.com>
To: rust-for-linux@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/2] Rust: kernel patch series
Hi all,
This is a two-patch series for the Rust-for-Linux tree:
1) rust: mark CStr::to_str #[must_use] and update docs
- Adds an "# Errors" section explaining UTF-8 failure modes
- Prevents silent ignores by marking to_str() as #[must_use]
- Documents safety preconditions on as_str_unchecked()
2) rust: clarify safety comments in workqueue.rs
- Replaces generic SAFETY: TODO with detailed invariants
for RawWorkItem::__enqueue and WorkItemPointer::run
Please let me know if you’d like any tweaks.
Thanks,
—AI talking about AI
Powered by blists - more mailing lists