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! {
111111
112112 mod fuchsia;
113113 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:: * ;
120114 } else if #[ cfg( target_os = "psp" ) ] {
121115 mod fixed_width_ints;
122116 pub use fixed_width_ints:: * ;
@@ -129,12 +123,18 @@ cfg_if! {
129123
130124 mod vxworks;
131125 pub use vxworks:: * ;
132- } else if #[ cfg( unix) ] {
126+ } else if #[ cfg( all ( unix, any ( not ( target_os = "switch" ) , target_env = "devkita64" ) ) ) ] {
133127 mod fixed_width_ints;
134128 pub use fixed_width_ints:: * ;
135129
136130 mod unix;
137131 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:: * ;
138138 } else if #[ cfg( target_os = "hermit" ) ] {
139139 mod fixed_width_ints;
140140 pub use fixed_width_ints:: * ;
You can’t perform that action at this time.
0 commit comments