External Publication
Visit Post

[Pre-RFC] BTF relocations

Rust Internals [Unofficial] April 10, 2026
Source
As a more general comment, I do think the sized hierarchy work is the right way to approach this issue. Perhaps one could expose some entirely different way to access btf data? For example, a macro that takes a struct name and field name and returns the offset. The program can then use that value on a raw pointer explicitly.

Discussion in the ATmosphere

Loading comments...