Skip to content

[0.2] linux: Replace c_enum! with e! for tpacket_versions#5208

Merged
tgross35 merged 1 commit into
rust-lang:libc-0.2from
tgross35:fix-enum
Jun 24, 2026
Merged

[0.2] linux: Replace c_enum! with e! for tpacket_versions#5208
tgross35 merged 1 commit into
rust-lang:libc-0.2from
tgross35:fix-enum

Conversation

@tgross35

Copy link
Copy Markdown
Contributor

This was changed to c_enum! in 1.0 but should remain e! in 0.2 to avoid the breaking change. In a backport, it was unintentionally changed to c_enum!. Change back to e! here.

Fixes: ed27022 ("linux: Move if_packet.h API to src/new")

This was changed to `c_enum!` in 1.0 but should remain `e!` in 0.2 to
avoid the breaking change. In a backport, it was unintentionally changed
to `c_enum!`. Change back to `e!` here.

Fixes: ed27022 ("linux: Move `if_packet.h` API to `src/new`")
@rustbot

rustbot commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

  • Pull requests are usually filed against the main branch for this repo, but this one is against libc-0.2. Please double check that you specified the right target!

@tgross35 tgross35 enabled auto-merge June 23, 2026 23:38
@tgross35 tgross35 added this pull request to the merge queue Jun 23, 2026
Merged via the queue into rust-lang:libc-0.2 with commit a322a1d Jun 24, 2026
53 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