1 use std::sync::RwLock; 2 3 use crate::command::CommandLineArgs; 4 5 /// 启动时的命令行参数 6 pub static CMD_ARGS: RwLock<Option<CommandLineArgs>> = RwLock::new(None); 7