Get the latest tech news

gendwarfksyms Tool Added To Linux 6.14 To Help With Rust Push


Merged on Friday to the Linux 6.14 kernel were the Kbuild feature changes for this cycle

Per Luis' request, v2 dropped the Rust specific bits from the series and instead added the feature as an option for the entire kernel to make it easier to evaluate the benefits of this approach, and to get better test coverage. Short background: Unlike C, Rust source code doesn't have sufficient information about the final ABI, as the compiler has considerable freedom in adjusting structure layout, for example, which makes using a source code parser like genksyms a non-starter. DWARF is an established and a relatively stable format, which includes all the necessary ABI details, and adding a CONFIG_DEBUG_INFO dependency for Rust symbol versioning seems like a reasonable trade-off as most distributions already enable it."

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Linux

Linux

Photo of rust push

rust push

Photo of gendwarfksyms tool

gendwarfksyms tool

Related news:

News photo

Linux 6.14 RISC-V Kernel Adds Support For T-Head Vector Extensions, GhostWrite

News photo

Switching to Linux: Reclaim Your Freedom

News photo

Show HN: voidDB – A transactional key-value DB written in Go for 64-bit Linux