Skip to content

Conversation

@sunfishcode
Copy link
Member

Add locally defined replacements to avoid depending on bindgen's __IncompleteArrayField and __BindgenUnionField in linux-raw-sys, use crate::ffi instead of crate::backend::c where applicable, remove WaitIdStatus::as_raw since it only exists to expose a linux-raw-sys type, and add locally defined replacements for Winsize and Sysinfo.

In all, these changes eliminate most of the linux-raw-sys types from the public API.

@sunfishcode sunfishcode force-pushed the sunfishcode/lrs-types branch 2 times, most recently from acf8dfd to 2e3a213 Compare January 23, 2025 05:47
@sunfishcode sunfishcode mentioned this pull request Jan 23, 2025
21 tasks
@sunfishcode sunfishcode force-pushed the sunfishcode/lrs-types branch from 2e3a213 to 29d27fe Compare January 28, 2025 13:02
@sunfishcode sunfishcode merged commit 99404fc into main Jan 29, 2025
45 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/lrs-types branch January 29, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants