Skip to content

Add safe sockopt rules - #284

Merged
nunoplopes merged 9 commits into
Cpp2Rust:masterfrom
lucic71:sockopt
Jul 26, 2026
Merged

Add safe sockopt rules#284
nunoplopes merged 9 commits into
Cpp2Rust:masterfrom
lucic71:sockopt

Conversation

@lucic71

@lucic71 lucic71 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

I implemented setsockopt in libcc2rs/src/libc_shims/socket.rs because it contains a lot of match arms and some of them are linux specific. It doesn't make sense to have them in the generated code for macos, for example

@nunoplopes
nunoplopes merged commit a4f9c89 into Cpp2Rust:master Jul 26, 2026
9 checks passed
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