New comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/32480#issuecomment-1127070802 Comment: has this branch been rebased recently (after mid-March)? I think i was getting some similar errors with bindgen + cross and solved it by adding this to the rust build helper: https://github.com/void-linux/void-packages/blob/de7bd4b5077aae0df2e57d7ce43f6feeb08f3f54/common/build-helper/rust.sh#L27-L28