File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,6 @@ cfg_if! {
111
111
112
112
mod fuchsia;
113
113
pub use fuchsia:: * ;
114
- } else if #[ cfg( target_os = "switch" ) ] {
115
- mod fixed_width_ints;
116
- pub use fixed_width_ints:: * ;
117
-
118
- mod switch;
119
- pub use switch:: * ;
120
114
} else if #[ cfg( target_os = "psp" ) ] {
121
115
mod fixed_width_ints;
122
116
pub use fixed_width_ints:: * ;
@@ -129,12 +123,18 @@ cfg_if! {
129
123
130
124
mod vxworks;
131
125
pub use vxworks:: * ;
132
- } else if #[ cfg( unix) ] {
126
+ } else if #[ cfg( all ( unix, any ( not ( target_os = "switch" ) , target_env = "devkita64" ) ) ) ] {
133
127
mod fixed_width_ints;
134
128
pub use fixed_width_ints:: * ;
135
129
136
130
mod unix;
137
131
pub use unix:: * ;
132
+ } else if #[ cfg( target_os = "switch" ) ] {
133
+ mod fixed_width_ints;
134
+ pub use fixed_width_ints:: * ;
135
+
136
+ mod switch;
137
+ pub use switch:: * ;
138
138
} else if #[ cfg( target_os = "hermit" ) ] {
139
139
mod fixed_width_ints;
140
140
pub use fixed_width_ints:: * ;
You can’t perform that action at this time.
0 commit comments