Open Bug 1804153 Opened 3 years ago

Don't generate FFIConverter code that's not used

Categories

(Toolkit :: UniFFI Bindings, enhancement)

enhancement

Tracking

()

People

(Reporter: bdk, Unassigned)

Details

If a type is present in the UDL file, we currently generate FFIConverter code to lift/lower/read/write it. However, some types are only used in one direction and we could skip some of those methods. In particular, errors that aren't used in callback interfaces don't need lower, write, or computeSize methods.

You need to log in before you can comment on or make changes to this bug.