Skip to content

Conversation

@kennykerr
Copy link
Collaborator

While working on the next version of windows-bindgen I noticed that the current version incorrectly sorts nested structs such that the mangled names (since Rust lacks support for nested types) are based on an internal sort order rather than the sort order provided by ECMA-335.

This usually isn't too noticeable, but some structs like FLT_PARAMETERS are now far more sensible.

I'm fixing it here in the current version to simplify diff validation of the next version of windows-bindgen.

@kennykerr kennykerr merged commit b4c9cb1 into master Oct 11, 2024
81 checks passed
@kennykerr kennykerr deleted the nested-order branch October 11, 2024 19:20
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.

3 participants