Skip to content

Alternative approach to making c2rust use more minimal: Per-item opt-in#66

Draft
chrysn wants to merge 4 commits intomainfrom
minimal-c2rust-alternative
Draft

Alternative approach to making c2rust use more minimal: Per-item opt-in#66
chrysn wants to merge 4 commits intomainfrom
minimal-c2rust-alternative

Conversation

@chrysn
Copy link
Copy Markdown
Member

@chrysn chrysn commented Apr 30, 2026

#55 and its sibling #65 are limited by even IWYU pulling in lots of idioms.

Maybe we can get rid of what was probably a mistake in 2020: including everything (which was done because the items we need are all static functions or macros, and there's no "public" declaration).

While this will initially break everything, later commits can go through
the actually used parts and make them opt-in.
@chrysn chrysn self-assigned this Apr 30, 2026
@chrysn chrysn force-pushed the minimal-c2rust-alternative branch from f578aa8 to 8f8e257 Compare April 30, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant