File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ cfg_if! {
123
123
124
124
mod vxworks;
125
125
pub use vxworks:: * ;
126
- } else if #[ cfg( all( unix, any( not( target_os = "switch" ) , target_env = "devkita64 " ) ) ) ] {
126
+ } else if #[ cfg( all( unix, any( not( target_os = "switch" ) , target_env = "libnx " ) ) ) ] {
127
127
mod fixed_width_ints;
128
128
pub use fixed_width_ints:: * ;
129
129
File renamed without changes.
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ cfg_if! {
327
327
#[ link( name = "root" ) ]
328
328
#[ link( name = "network" ) ]
329
329
extern { }
330
- } else if #[ cfg( target_env = "devkita64 " ) ] {
330
+ } else if #[ cfg( target_env = "libnx " ) ] {
331
331
#[ link( name = "c" ) ]
332
332
#[ link( name = "m" ) ]
333
333
extern { }
@@ -1461,7 +1461,7 @@ extern "C" {
1461
1461
}
1462
1462
1463
1463
cfg_if ! {
1464
- if #[ cfg( not( target_env = "devkita64 " ) ) ] {
1464
+ if #[ cfg( not( target_env = "libnx " ) ) ] {
1465
1465
extern "C" {
1466
1466
pub fn cfgetispeed( termios: * const :: termios) -> :: speed_t;
1467
1467
pub fn cfgetospeed( termios: * const :: termios) -> :: speed_t;
@@ -1536,7 +1536,7 @@ cfg_if! {
1536
1536
if #[ cfg( not( any(
1537
1537
target_os = "solaris" ,
1538
1538
target_os = "illumos" ,
1539
- target_env = "devkita64 "
1539
+ target_env = "libnx "
1540
1540
) ) ) ] {
1541
1541
extern {
1542
1542
pub fn cfmakeraw( termios: * mut :: termios) ;
@@ -1550,9 +1550,9 @@ cfg_if! {
1550
1550
if #[ cfg( target_env = "uclibc" ) ] {
1551
1551
mod uclibc;
1552
1552
pub use self :: uclibc:: * ;
1553
- } else if #[ cfg( target_env = "devkita64 " ) ] {
1554
- mod devkita64 ;
1555
- pub use self :: devkita64 :: * ;
1553
+ } else if #[ cfg( target_env = "libnx " ) ] {
1554
+ mod libnx ;
1555
+ pub use self :: libnx :: * ;
1556
1556
} else if #[ cfg( target_env = "newlib" ) ] {
1557
1557
mod newlib;
1558
1558
pub use self :: newlib:: * ;
You can’t perform that action at this time.
0 commit comments