Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 777c7018 authored by Charisee's avatar Charisee Committed by Charisee Chiw
Browse files

Update needed for Rust v1.73.0

Bug: 303252546
Test: ./test_compiler.py --prebuilt-path dist/rust-dev.tar.xz  --target aosp_cf_x86_64_phone --image
Change-Id: I3e09c712310ecd9ed783007fa17b33548f6f0af5
parent 897c6c67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ pub unsafe extern "C" fn rust_call_ndk(service_name: *const c_char) -> c_int {
    let wrong_service: Result<binder::Strong<dyn IBinderRustNdkInteropTestOther>, StatusCode> =
        binder::get_interface(service_name);
    match wrong_service {
        Err(e) if e == StatusCode::BAD_TYPE => {}
        Err(StatusCode::BAD_TYPE) => {}
        Err(e) => {
            eprintln!("Trying to use a service via the wrong interface errored with unexpected error {:?}", e);
            return e as c_int;