1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
use TokenStream;
/*
#[derive(Builder)]
#[derive(Debug)]
pub struct Command{
pub executable: Option<String>,
pub args: Vec<i32>,
pub current_dir: String,
}
#[test]
fn test_builder() {
println!("start-------------");
let com = Command::builder().executable(Some("123".to_string())).args(vec![1,2,3]).current_dir("id".to_string()).build();
println!("com {:?}", com);
println!("end -------------");
}
*/
/*
#[log_func_info]
fn my_function() {
println!("Hello, world!");
}
#[test]
fn test_func() {
my_function();
}
*/