Add ABI checks
The rustification is slowly reaching closer to the public API. If we end up implementing public structs or functions in Rust, we need to guarantee that we don't break the API/ABI.
We can use pahole(1)
(from the dwarves
package) or libabigail to check for this. We can get their output from the C version, and compare it to the Rustified version to guarantee that they are the same in terms of ABI.
Thanks to Christian Hergert for this idea!
Edited by Federico Mena Quintero