Skip to content

Conversation

@durin42
Copy link
Contributor

@durin42 durin42 commented Jan 8, 2026

The arguments would be passed as either --rust-edition=2024 or --rust-edition, 2024, but either way the resulting entry from the list comprehension on the right hand of the not in operator will contain "--rust-edition" without the trailing space. This allows users of the bindgen rules to specify their own explicit edition.

Tested:
Works in our private repo, and didn't without this patch.

The arguments would be passed as either `--rust-edition=2024` or
`--rust-edition`, `2024`, but either way the resulting entry from the
list comprehension on the right hand of the `not in` operator will
contain `"--rust-edition"` without the trailing space. This allows
users of the bindgen rules to specify their own explicit edition.

Tested:
  Works in our private repo, and didn't without this patch.
@durin42
Copy link
Contributor Author

durin42 commented Jan 8, 2026

Failure looks strange and probably unrelated? looks like it's trying to do a release action or something on my PR?

@durin42
Copy link
Contributor Author

durin42 commented Jan 8, 2026

Oh, I see other failures but they all look weird and environmental to me. Please let me know if I missed a real one in my search.

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.

1 participant