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 @@ -213,7 +213,11 @@ s! {
213
213
}
214
214
215
215
cfg_if ! {
216
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
216
+ if #[ cfg( any(
217
+ target_env = "gnu" ,
218
+ target_os = "android" ,
219
+ target_env = "musl"
220
+ ) ) ] {
217
221
s! {
218
222
pub struct statx {
219
223
pub stx_mask: crate :: __u32,
@@ -1577,7 +1581,11 @@ cfg_if! {
1577
1581
}
1578
1582
1579
1583
cfg_if ! {
1580
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
1584
+ if #[ cfg( any(
1585
+ target_env = "gnu" ,
1586
+ target_os = "android" ,
1587
+ target_env = "musl"
1588
+ ) ) ] {
1581
1589
pub const AT_STATX_SYNC_TYPE : c_int = 0x6000 ;
1582
1590
pub const AT_STATX_SYNC_AS_STAT : c_int = 0x0000 ;
1583
1591
pub const AT_STATX_FORCE_SYNC : c_int = 0x2000 ;
@@ -1980,7 +1988,11 @@ cfg_if! {
1980
1988
1981
1989
// The statx syscall, available on some libcs.
1982
1990
cfg_if ! {
1983
- if #[ cfg( any( target_env = "gnu" , target_os = "android" ) ) ] {
1991
+ if #[ cfg( any(
1992
+ target_env = "gnu" ,
1993
+ target_os = "android" ,
1994
+ target_env = "musl"
1995
+ ) ) ] {
1984
1996
extern "C" {
1985
1997
pub fn statx(
1986
1998
dirfd: c_int,
You can’t perform that action at this time.
0 commit comments