Skip to content

Commit 9db9538

Browse files
committed
Rename to aarch64-unknown-switch-libnx
1 parent 2327437 commit 9db9538

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ cfg_if! {
123123

124124
mod vxworks;
125125
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")))] {
127127
mod fixed_width_ints;
128128
pub use fixed_width_ints::*;
129129

File renamed without changes.

src/unix/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ cfg_if! {
327327
#[link(name = "root")]
328328
#[link(name = "network")]
329329
extern {}
330-
} else if #[cfg(target_env = "devkita64")] {
330+
} else if #[cfg(target_env = "libnx")] {
331331
#[link(name = "c")]
332332
#[link(name = "m")]
333333
extern {}
@@ -1461,7 +1461,7 @@ extern "C" {
14611461
}
14621462

14631463
cfg_if! {
1464-
if #[cfg(not(target_env = "devkita64"))] {
1464+
if #[cfg(not(target_env = "libnx"))] {
14651465
extern "C" {
14661466
pub fn cfgetispeed(termios: *const ::termios) -> ::speed_t;
14671467
pub fn cfgetospeed(termios: *const ::termios) -> ::speed_t;
@@ -1536,7 +1536,7 @@ cfg_if! {
15361536
if #[cfg(not(any(
15371537
target_os = "solaris",
15381538
target_os = "illumos",
1539-
target_env = "devkita64"
1539+
target_env = "libnx"
15401540
)))] {
15411541
extern {
15421542
pub fn cfmakeraw(termios: *mut ::termios);
@@ -1550,9 +1550,9 @@ cfg_if! {
15501550
if #[cfg(target_env = "uclibc")] {
15511551
mod uclibc;
15521552
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::*;
15561556
} else if #[cfg(target_env = "newlib")] {
15571557
mod newlib;
15581558
pub use self::newlib::*;

0 commit comments

Comments
 (0)