lkml.org 
[lkml]   [2026]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v13 1/1] rust: interop: Add list module for C linked list interface
From
On Thu Mar 19, 2026 at 1:21 PM CET, Gary Guo wrote:
> If there're cases where we do want to justify unsafe code that's not immediately
> deferring to the user inside the macro, we could use the SAFETY* trick proposed
> in the thread, without writing an actual `unsafe {}` block.

Works for me -- if this is what we want to do in such cases, we should probably
document it somewhere in the coding guidelines.

\
 
 \ /
  Last update: 2026-03-19 13:58    [W:0.138 / U:2.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog