Fix building on Android
MODIFY
binding-generator/src/writer/rust_native/type_ref.rs
binding-generator/src/writer/rust_native/type_ref.rs
@@ -274,7 +274,7 @@ impl<'tu, 'ge> TypeRefExt for TypeRef<'tu, 'ge> {
return format!("u8::try_from({name})?", name = name);
}
Some(Signedness::Signed) => {
- return format!("u8::try_from({name})? as c_char", name = name);
+ return format!("u8::try_from({name})? as i8", name = name);
}
None => {}
}

Fix building on Android