Skip to content

Conversation

goatgoose
Copy link
Contributor

@goatgoose goatgoose commented Jun 9, 2025

Description of changes:

A new version of bindgen was released, which adds an --edition argument to the rustfmt command that runs on the generated code.

s2n-quic runs rustfmt with the 2018 edition. By default, bindgen uses the latest edition.

This caused our rustfmt to fail when checking the code generated by bindgen:
https://github.com/aws/s2n-quic/actions/runs/15526083389/job/43752623889#step:7:29

This PR runs bindgen with the Rust edition specified in our rustfmt config, ensuring bindgen's rustfmt and our rustfmt agree.

Testing:

The dc-wireshark CI jobs should succeed on this PR.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@maddeleine maddeleine merged commit 8081777 into main Jun 9, 2025
128 checks passed
@maddeleine maddeleine deleted the fix-wireshark-fmt branch June 9, 2025 22:06
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