Use AsRefClosure when generating the bindings
This simplifies things significantly \o/
This commit is contained in:
@@ -28,6 +28,7 @@ for file in $(ls -a $specs/*.xml); do
|
||||
dbus-codegen-rust \
|
||||
--file "$file" \
|
||||
-i "org.freedesktop.Telepathy" \
|
||||
-a AsRefClosure \
|
||||
-o "$out"
|
||||
|
||||
rustfmt $out
|
||||
|
Reference in New Issue
Block a user