Skip to content

fix: update rustix to 1.1.5 - #3344

Merged
messense merged 1 commit into
PyO3:mainfrom
kraj:update-rustix-1.1.5
Oct 23, 2026
Merged

messense merged 1 commit into
PyO3:mainfrom
kraj:update-rustix-1.1.5

Conversation

@kraj

@kraj kraj commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

rustix 1.1.4 glob-imports the STATX_* constants from linux-raw-sys for non-glibc Linux targets, assuming libc does not define them. libc defines them for musl with its musl 1.2 layouts, which libc 0.2.190 enables by default on riscv32, so building maturin for riscv32 musl fails:

error[E0659]: STATX_MODE is ambiguous
--> rustix-1.1.4/src/fs/statx.rs:78:25

rustix 1.1.5 imports them explicitly instead, see
bytecodealliance/rustix#1676.

maturin main passes cargo check --locked with it on ArchLinux (Rust 1.99.0).

rustix 1.1.4 glob-imports the STATX_* constants from linux-raw-sys for
non-glibc Linux targets, assuming libc does not define them. libc
defines them for musl with its musl 1.2 layouts, which libc 0.2.190
enables by default on riscv32, so building maturin for riscv32 musl
fails:

  error[E0659]: `STATX_MODE` is ambiguous
    --> rustix-1.1.4/src/fs/statx.rs:78:25

rustix 1.1.5 imports them explicitly instead, see
bytecodealliance/rustix#1676.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
@messense
messense enabled auto-merge (squash) October 23, 2026 04:17
@messense
messense merged commit f2cefaa into PyO3:main Oct 23, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants