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

Skip to content
Commit 1729e908 authored by Stephen Crane's avatar Stephen Crane
Browse files

libbinder_rs: Modify asserts to propagate failure to C++

We can't rely on Rust panics to unwind, so we need to return failed
transaction rather than panic on assertion failures. Replaces assert!
and assert_eq! to propagate failures as failed transactions rather than
Rust panics.

Test: atest rustBinderSerializationTest
Bug: 179067202
Change-Id: I01b6443b364a9df2a5631f2ddfbc72ce13febe93
parent 7125b188
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment