Implementing the handshake call in the protocol
Dependencies
- [2]
LIMIMBOUBootstrapping the Rust part
Change contents
- edit in src/server.rs at line 61
async fn handshake(&self,request: tonic::Request<proto::Empty>,) -> Result<tonic::Response<proto::PlatformReply>, tonic::Status> {Ok(proto::PlatformReply {endianness: if cfg!(target_endian = "big") { 0 } else { 1 },pointer_width: std::mem::size_of::<usize>() as i32,arch: match std::env::consts::ARCH {"x86_64" => 0,"aarch64" => 1,_ => unimplemented!(),},}.into())}