Skip to content

Commit a5a426d

Browse files
committed
add csky to linux/arch/generic.rs
1 parent 2a4d438 commit a5a426d

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/linux/arch/generic

1 file changed

+2
-0
lines changed

src/unix/linux_like/linux/arch/generic/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ cfg_if! {
9595
if #[cfg(all(any(target_arch = "x86",
9696
target_arch = "x86_64",
9797
target_arch = "aarch64",
98+
target_arch = "csky",
9899
target_arch = "loongarch64"),
99100
not(any(target_env = "musl", target_env = "ohos"))))] {
100101
pub const SO_TIMESTAMP_NEW: ::c_int = 63;
@@ -115,6 +116,7 @@ cfg_if! {
115116
target_arch = "aarch64",
116117
target_arch = "riscv64",
117118
target_arch = "s390x",
119+
target_arch = "csky",
118120
target_arch = "loongarch64"))] {
119121
pub const FICLONE: ::c_ulong = 0x40049409;
120122
pub const FICLONERANGE: ::c_ulong = 0x4020940D;

0 commit comments

Comments
 (0)