Skip to content
#

rust-ffi

Here are 58 public repositories matching this topic...

p-e-w
p-e-w commented May 23, 2021

It appears that the RedBPF toolchain imposes currently undocumented restrictions on map value types that go beyond those expressed by the generic constraints:

  • All variants of an enum must have the same size in memory.
  • Struct fields are (mostly?) required to be aligned to multiples of 32 bits, though sometimes 64-bit alignment is required, and some structs don't work at all despite their fi

Improve this page

Add a description, image, and links to the rust-ffi topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the rust-ffi topic, visit your repo's landing page and select "manage topics."

Learn more