File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,11 @@ cfg_if! {
251
251
#[ path = "espidf.rs" ] mod imp;
252
252
} else if #[ cfg( windows) ] {
253
253
#[ path = "windows.rs" ] mod imp;
254
+ } else if #[ cfg( all( target_os = "horizon" , target_arch = "arm" ) ) ] {
255
+ // We check for target_arch = "arm" because the Nintendo Switch also
256
+ // uses Horizon OS (it is aarch64).
257
+ mod util_libc;
258
+ #[ path = "3ds.rs" ] mod imp;
254
259
} else if #[ cfg( all( target_arch = "x86_64" , target_env = "sgx" ) ) ] {
255
260
#[ path = "rdrand.rs" ] mod imp;
256
261
} else if #[ cfg( all( feature = "rdrand" ,
@@ -259,11 +264,6 @@ cfg_if! {
259
264
} else if #[ cfg( all( feature = "js" ,
260
265
target_arch = "wasm32" , target_os = "unknown" ) ) ] {
261
266
#[ path = "js.rs" ] mod imp;
262
- } else if #[ cfg( all( target_os = "horizon" , target_arch = "arm" ) ) ] {
263
- // We check for target_arch = "arm" because the Nintendo Switch also
264
- // uses Horizon OS (it is aarch64).
265
- mod util_libc;
266
- #[ path = "3ds.rs" ] mod imp;
267
267
} else if #[ cfg( feature = "custom" ) ] {
268
268
use custom as imp;
269
269
} else if #[ cfg( all( target_arch = "wasm32" , target_os = "unknown" ) ) ] {
You can’t perform that action at this time.
0 commit comments