10
10
11
11
#[ derive( Debug , Deserialize ) ]
12
12
#[ serde( deny_unknown_fields) ]
13
+ #[ allow( dead_code) ]
13
14
pub struct LinkEntry {
14
15
pub name : String ,
15
16
pub path_static : Option < String > ,
@@ -20,6 +21,7 @@ pub struct LinkEntry {
20
21
21
22
#[ derive( Debug , Deserialize ) ]
22
23
#[ serde( deny_unknown_fields) ]
24
+ #[ allow( dead_code) ]
23
25
pub struct PythonBuildExtensionInfo {
24
26
pub in_core : bool ,
25
27
pub init_fn : String ,
@@ -36,6 +38,7 @@ pub struct PythonBuildExtensionInfo {
36
38
37
39
#[ derive( Debug , Deserialize ) ]
38
40
#[ serde( deny_unknown_fields) ]
41
+ #[ allow( dead_code) ]
39
42
pub struct PythonBuildCoreInfo {
40
43
pub objs : Vec < String > ,
41
44
pub links : Vec < LinkEntry > ,
@@ -45,6 +48,7 @@ pub struct PythonBuildCoreInfo {
45
48
46
49
#[ derive( Debug , Deserialize ) ]
47
50
#[ serde( deny_unknown_fields) ]
51
+ #[ allow( dead_code) ]
48
52
pub struct PythonBuildInfo {
49
53
pub core : PythonBuildCoreInfo ,
50
54
pub extensions : BTreeMap < String , Vec < PythonBuildExtensionInfo > > ,
@@ -56,6 +60,7 @@ pub struct PythonBuildInfo {
56
60
57
61
#[ derive( Debug , Deserialize ) ]
58
62
#[ serde( deny_unknown_fields) ]
63
+ #[ allow( dead_code) ]
59
64
pub struct PythonJsonMain {
60
65
pub apple_sdk_canonical_name : Option < String > ,
61
66
pub apple_sdk_deployment_target : Option < String > ,
0 commit comments