From c3c650049016d20c2d4a7466d489ebf17781c8f3 Mon Sep 17 00:00:00 2001 From: Louis <836250617@qq.com> Date: Sun, 3 Mar 2024 20:26:18 +0800 Subject: [PATCH] build --- fav_core/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/fav_core/build.rs b/fav_core/build.rs index 2865192..397b743 100644 --- a/fav_core/build.rs +++ b/fav_core/build.rs @@ -9,6 +9,7 @@ fn main() -> Result<(), Box> { Channel::Dev => "CHANNEL_DEV", }; println!("cargo:rustc-cfg={}", channel); + #[cfg(test)] protobuf_codegen::Codegen::new() .pure() .includes(["proto"])