diff options
author | Amanjeev Sethi <aj@amanjeev.com> | 2022-08-24 18:45:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 00:45:03 +0200 |
commit | 6dfc3e70df1676a3321cb83624f7c83db6fb92df (patch) | |
tree | 788b6ebe130e5f5daa9757f94cf1a85da0a86d0f /src/codegen/mod.rs | |
parent | ebb1ce98c6e92ce2384a5867bdcfeb933ed12433 (diff) |
Sorting the output semantically (#2254)
Generated code needs some sorting in a way that is
semantically appealing. The request[1] asks for basic
sorting like "types are declared first, then all structs,
then all consts, then all function signatures, etc.
[1] https://github.com/rust-lang/rust-bindgen/issues/1743
Signed-off-by: Amanjeev Sethi <aj@amanjeev.com>
Co-authored-by: Christian Poveda <christian.poveda@ferrous-systems.com>
Co-authored-by: Darren Kulp <darren@kulp.ch>
Diffstat (limited to 'src/codegen/mod.rs')
0 files changed, 0 insertions, 0 deletions