Add cond compile for some command line arguments

This commit is contained in:
2025-06-05 07:52:57 +08:00
parent d28a604e34
commit 8083990e94
3 changed files with 8 additions and 0 deletions

View File

@@ -985,7 +985,9 @@ fn main() {
unsafe { std::env::set_var("RUST_LIB_BACKTRACE", "1") };
}
let cfg = types::ExtraConfig {
#[cfg(feature = "circus")]
circus_mes_type: arg.circus_mes_type.clone(),
#[cfg(feature = "escude-arc")]
escude_fake_compress: arg.escude_fake_compress.clone(),
};
match &arg.command {