File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,15 +50,15 @@ pub struct TypeInfo {
5050pub struct FnIr {
5151 pub body : Vec < BodyFragment > ,
5252 #[ serde( skip_serializing_if = "Option::is_none" ) ]
53- pub target_os : Option < String > ,
54- #[ serde( skip_serializing_if = "Option::is_none" ) ]
5553 pub generics : Option < BTreeMap < String , Vec < String > > > ,
5654 #[ serde( skip_serializing_if = "Option::is_none" ) ]
5755 pub multi_statement : Option < bool > ,
5856 #[ serde( skip_serializing_if = "Option::is_none" ) ]
5957 pub params : Option < BTreeMap < String , TypeInfo > > ,
6058 #[ serde( skip_serializing_if = "Option::is_none" ) ]
6159 pub return_type : Option < TypeInfo > ,
60+ #[ serde( skip_serializing_if = "Option::is_none" ) ]
61+ pub target_os : Option < String > ,
6262}
6363
6464impl FnIr {
Original file line number Diff line number Diff line change 3535 "text" : " libc::SOCK_CLOEXEC"
3636 }
3737 ],
38- "target_os" : " linux" ,
3938 "return_type" : {
4039 "type" : " i32"
41- }
40+ },
41+ "target_os" : " linux"
4242 },
4343 "f5" : {
4444 "body" : [
4545 {
4646 "text" : " libc::SOCK_NONBLOCK"
4747 }
4848 ],
49- "target_os" : " linux" ,
5049 "return_type" : {
5150 "type" : " i32"
52- }
51+ },
52+ "target_os" : " linux"
5353 }
5454}
You can’t perform that action at this time.
0 commit comments