mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-19 21:47:12 +08:00
11 lines
239 B
Rust
11 lines
239 B
Rust
use std::env;
|
|
use std::io;
|
|
|
|
fn main() -> io::Result<()> {
|
|
unsafe {
|
|
env::set_var("PROTOC", "../Tools/ProtoBuf/bin/protoc.exe");
|
|
}
|
|
tonic_prost_build::compile_protos("../Tools/ProtoBuf/proto/message.proto")?;
|
|
Ok(())
|
|
}
|