summaryrefslogtreecommitdiff
path: root/libs/binder
diff options
context:
space:
mode:
author Hasini Gunasinghe <hasinitg@google.com> 2024-11-20 20:11:50 +0000
committer Hasini Gunasinghe <hasinitg@google.com> 2025-03-08 20:39:46 +0000
commitfcbbe1795996853fb857be9e7527340623c6464b (patch)
treed456d2befda2b9d82722759115ff5afa0cab9295 /libs/binder
parent4b89f17ef1ba81b6822607760d1a83d069bf8533 (diff)
Export RpcServerConnection for use in Trusty
Dependent CL/code: https://android-review.git.corp.google.com/c/trusty/app/authmgr/+/3342621/2/authmgr-be/lib/src/server.rs#28 Test: compile in Trusty Bug: 369145005 Change-Id: I70cd4bb8f2b2747d61a4c59749c664c39e43b259
Diffstat (limited to 'libs/binder')
-rw-r--r--libs/binder/rust/rpcbinder/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/binder/rust/rpcbinder/src/lib.rs b/libs/binder/rust/rpcbinder/src/lib.rs
index 7e5c9ddc35..774bb21efe 100644
--- a/libs/binder/rust/rpcbinder/src/lib.rs
+++ b/libs/binder/rust/rpcbinder/src/lib.rs
@@ -20,6 +20,8 @@ mod server;
mod session;
pub use server::RpcServer;
+#[cfg(target_os = "trusty")]
+pub use server::RpcServerConnection;
#[cfg(not(target_os = "trusty"))]
pub use server::RpcServerRef;
pub use session::{FileDescriptorTransportMode, RpcSession, RpcSessionRef};