run gen_version no matter debug or release

This commit is contained in:
rustdesk committed 2023-02-01 10:49:16 +08:00
1 parent 2830be95a7
commit fe3b42809a
3 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ fn main() {
let out_dir = format!("{}/protos", std::env::var("OUT_DIR").unwrap());
std::fs::create_dir_all(&out_dir).unwrap();
protobuf_codegen::Codegen::new()
.pure()
.out_dir(out_dir)