mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-25 14:48:12 +02:00
We detect whenever a method hasn't changed from one generation to the next and just `pub use` the older generation's method struct and any enum types associated. This keeps each mthd module independently usable with all necessary types while reducing the number of unique Rust types and associated trait implementations generated. This drops the size of libnvidia_headers.rlib from 84 MiB to 22 MiB and will hopefully make Rust code a little less expensive to build. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34136> |
||
|---|---|---|
| .. | ||
| ci | ||
| codegen | ||
| compiler | ||
| drm | ||
| drm-shim | ||
| headers | ||
| mme | ||
| nil | ||
| vulkan | ||
| winsys | ||
| .rustfmt.toml | ||
| meson.build | ||