File tree 2 files changed +16
-4
lines changed
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 5
5
6
6
set -eux
7
7
8
- musl_version=1.1.24
8
+ musl_version=1.2.5
9
9
musl=" musl-${musl_version} "
10
10
11
11
# Download, configure, build, and install musl:
Original file line number Diff line number Diff line change @@ -206,7 +206,11 @@ s! {
206
206
}
207
207
208
208
cfg_if ! {
209
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
209
+ if #[ cfg( any(
210
+ target_env = "gnu" ,
211
+ target_os = "android" ,
212
+ target_env = "musl"
213
+ ) ) ] {
210
214
s! {
211
215
pub struct statx {
212
216
pub stx_mask: :: __u32,
@@ -1574,7 +1578,11 @@ cfg_if! {
1574
1578
}
1575
1579
1576
1580
cfg_if ! {
1577
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
1581
+ if #[ cfg( any(
1582
+ target_env = "gnu" ,
1583
+ target_os = "android" ,
1584
+ target_env = "musl"
1585
+ ) ) ] {
1578
1586
pub const AT_STATX_SYNC_TYPE : :: c_int = 0x6000 ;
1579
1587
pub const AT_STATX_SYNC_AS_STAT : :: c_int = 0x0000 ;
1580
1588
pub const AT_STATX_FORCE_SYNC : :: c_int = 0x2000 ;
@@ -1973,7 +1981,11 @@ cfg_if! {
1973
1981
1974
1982
// The statx syscall, available on some libcs.
1975
1983
cfg_if ! {
1976
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
1984
+ if #[ cfg( any(
1985
+ target_env = "gnu" ,
1986
+ target_os = "android" ,
1987
+ target_env = "musl"
1988
+ ) ) ] {
1977
1989
extern "C" {
1978
1990
pub fn statx(
1979
1991
dirfd: :: c_int,
You can’t perform that action at this time.
0 commit comments