File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 6363 # # ARMv6
6464 - { os: 'ubuntu-latest', target: 'arm-unknown-linux-gnueabihf', cross: true }
6565 - { os: 'ubuntu-latest', target: 'arm-unknown-linux-musleabihf', cross: true }
66+ # # LOONGARCH64
67+ - { os: 'ubuntu-latest', target: 'loongarch64-unknown-linux-gnu', cross: true }
68+
6669 toolchain :
6770 - 1.46.0 # MSRV
6871 - stable
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ use std::net::IpAddr;
55use crate :: Pid ;
66
77cfg_if:: cfg_if! {
8- // aarch64-unknown-linux-gnu has different type
9- if #[ cfg( all( target_arch = "aarch64" , not( target_family = "musl" ) ) ) ] {
8+ // aarch64-unknown-linux-gnu and loongarch64-unknown-linux-gnu has different type
9+ if #[ cfg( all( any ( target_arch = "aarch64" , target_arch = "loongarch64" ) , not( target_family = "musl" ) ) ) ] {
1010 /// User session ID.
1111 pub type SessionId = i64 ;
1212 } else {
You can’t perform that action at this time.
0 commit comments