File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 6
6
set -eux
7
7
8
8
case ${1} in
9
- loongarch64)
10
- musl_version=1.2.5
11
- ;;
12
- * )
13
- musl_version=1.1.24
14
- ;;
9
+ musl_version=1.2.5
10
+ ;;
15
11
esac
16
12
17
13
musl=" musl-${musl_version} "
Original file line number Diff line number Diff line change @@ -208,7 +208,11 @@ s! {
208
208
}
209
209
210
210
cfg_if ! {
211
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
211
+ if #[ cfg( any(
212
+ target_env = "gnu" ,
213
+ target_os = "android" ,
214
+ target_env = "musl"
215
+ ) ) ] {
212
216
s! {
213
217
pub struct statx {
214
218
pub stx_mask: crate :: __u32,
@@ -1602,7 +1606,11 @@ cfg_if! {
1602
1606
}
1603
1607
1604
1608
cfg_if ! {
1605
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
1609
+ if #[ cfg( any(
1610
+ target_env = "gnu" ,
1611
+ target_os = "android" ,
1612
+ target_env = "musl"
1613
+ ) ) ] {
1606
1614
pub const AT_STATX_SYNC_TYPE : c_int = 0x6000 ;
1607
1615
pub const AT_STATX_SYNC_AS_STAT : c_int = 0x0000 ;
1608
1616
pub const AT_STATX_FORCE_SYNC : c_int = 0x2000 ;
You can’t perform that action at this time.
0 commit comments