mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 08:57:13 +08:00
(tools, server) feat: Replace TCP server with gRPC server
This commit is contained in:
10
Server/build.rs
Normal file
10
Server/build.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use std::env;
|
||||
use std::io;
|
||||
|
||||
fn main() -> io::Result<()> {
|
||||
unsafe {
|
||||
env::set_var("PROTOC", "../Tools/ProtoBuf/bin/protoc.exe");
|
||||
}
|
||||
tonic_build::compile_protos("../Tools/ProtoBuf/proto/message.proto")?;
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user