Re: [PATCH] rust: bindgen: Preserve sched_statistics alignment
From: peder . bergan
Date: Fri Nov 20 2026 - 10:38:49 EST
Thanks, Miguel.
I looked into bindgen 0.73.1. The layout diverges earlier at
task_struct.se, and my v1 leaves that offset unchanged.
I ran a reduced test and found that making the type opaque can worsen
field placement on 0.73.0 and 0.73.1. Would you prefer limiting the
workaround to 0.73.2 with scheduler statistics disabled?
I'll add the bindgen issue link and update the comment and stable tag.
Thanks for testing, Jules. I'll add your Reported-by and copy you on v2.