mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-25 17:25:18 +02:00
Update Rust to nightly-2022-11-03, and the Android NDK to r25b
These are intertwined: older versions of Rust don't support the newer NDK, but the newer Rust can't successfully compile BoringSSL against the older NDK. This requires a boring-sys update to find the Android NDK sysroot in the right place.
This commit is contained in:
@@ -37,7 +37,10 @@ pub unsafe extern "C" fn signal_free_buffer(buf: *const c_uchar, buf_len: size_t
|
||||
if buf.is_null() {
|
||||
return;
|
||||
}
|
||||
Box::from_raw(std::slice::from_raw_parts_mut(buf as *mut c_uchar, buf_len));
|
||||
drop(Box::from_raw(std::slice::from_raw_parts_mut(
|
||||
buf as *mut c_uchar,
|
||||
buf_len,
|
||||
)));
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
||||
Reference in New Issue
Block a user