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:
Jordan Rose
2022-11-14 13:56:03 -08:00
parent f9dededc4c
commit 572ba1e38b
18 changed files with 51 additions and 39 deletions

View File

@@ -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]