---
title: "rustix 1.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each rustix release removed, renamed or changed: 351 breaking changes in 5 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/rustix
last_updated: 2026-12-04
---

# rustix breaking changes

rustix 1.0.0 (March 6, 2025) is its newest release with breaking changes, 136 of them. The first: Signature changed fgetxattr. Every breaking API change we have recorded in rustix on crates.io: 351 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.1.6`, released October 27, 2026. [Source repository](https://github.com/bytecodealliance/rustix)

Its 0.38.0 release requires Rust 1.63 or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.38.0](#v-0-38-0) to [1.0.0](#v-1-0-0): 136 breaking changes in 1 version.
- From [0.32.0](#v-0-32-0) to [1.0.0](#v-1-0-0): 345 breaking changes in 4 versions.

## rustix 1.0.0 breaking changes

rustix 1.0.0, released March 6, 2025: 136 breaking changes.

- **Signature changed** `fgetxattr`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v1.0.0)
- **Signature changed** `flistxattr`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v1.0.0)
- **Signature changed** `getxattr`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v1.0.0)
- **Signature changed** `lgetxattr`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v1.0.0)
- **Signature changed** `listxattr`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v1.0.0)
- **Signature changed** `llistxattr`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v1.0.0)
- **Signature changed** `port.getn`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v1.0.0)
- **Signature changed** `read`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v1.0.0)
- **Signature changed** `readlinkat_raw`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v1.0.0)
- **Signature changed** `rustix::event::epoll::add`  

Was fn add(epoll: impl AsFd, source: impl AsFd, data: epoll::EventData, event_flags: epoll::EventFlags) -> io::Result<()>; now fn add\<EpollFd: AsFd, SourceFd: AsFd>(epoll: EpollFd, source: SourceFd, data: epoll::EventData, event_flags... [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::event::epoll::delete`  

Was fn delete(epoll: impl AsFd, source: impl AsFd) -> io::Result<()>; now fn delete\<EpollFd: AsFd, SourceFd: AsFd>(epoll: EpollFd, source: SourceFd) -> io::Result<()>. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::event::epoll::modify`  

Was fn modify(epoll: impl AsFd, source: impl AsFd, data: epoll::EventData, event_flags: epoll::EventFlags) -> io::Result<()>; now fn modify\<EpollFd: AsFd, SourceFd: AsFd>(epoll: EpollFd, source: SourceFd, data: epoll::EventData... [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::event::epoll::wait`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::event::kqueue::Event::new`  

Was fn new(filter: EventFilter, flags: EventFlags, udata: isize) -> Event; now fn new(filter: EventFilter, flags: EventFlags, udata: \*mut c::c_void) -> Event. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::event::kqueue::Event::udata`  

Was fn udata(&self) -> isize; now fn udata(&self) -> \*mut c::c_void. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::event::kqueue::kevent`  

Functions now take the new Buffer trait for their data buffers, so callers may need to update code. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::event::Nsecs`  

Was type Nsecs = c::c_long; now type Nsecs = ffi::c_long. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::event::poll`  

Was fn poll(fds: &mut \[PollFd<'\_>\], timeout: i32) -> io::Result\<usize>; now fn poll(fds: &mut \[PollFd<'\_>\], timeout: Option<&Timespec>) -> io::Result\<usize>. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::event::port::Event::userdata`  

Was fn userdata(&self) -> \*mut c::c_void; now fn userdata(&self) -> \*mut ffi::c_void. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::buf_ring_bufs_struct::bufs`  

Was bufs: sys::\_\_IncompleteArrayField\<io_uring_buf>; now bufs: IncompleteArrayField\<io_uring_buf>. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::c_char`  

Was type c_char = i8; now pub use crate::ffi::c_char. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_buf_reg::ring_addr`  

Was ring_addr: u64; now ring_addr: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_buf::addr`  

Was addr: u64; now addr: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_cqe::big_cqe`  

Was big_cqe: sys::\_\_IncompleteArrayField\<u64>; now big_cqe: IncompleteArrayField\<u64>. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_enter`  

Was unsafe fn io_uring_enter\<Fd: AsFd>(fd: Fd, to_submit: u32, min_complete: u32, flags: IoringEnterFlags, arg: \*const c_void, size: usize) -> io::Result\<u32>; now unsafe fn io_uring_enter\<Fd: AsFd>(fd: Fd, to_submit: u32, min_complete... [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_files_update::fds`  

Was fds: u64; now fds: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_getevents_arg::sigmask`  

Was sigmask: u64; now sigmask: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_getevents_arg::ts`  

Was ts: u64; now ts: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_params::wq_fd`  

Was wq_fd: u32; now wq_fd: RawFd. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_probe::ops`  

Was ops: sys::\_\_IncompleteArrayField\<io_uring_probe_op>; now ops: IncompleteArrayField\<io_uring_probe_op>. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_recvmsg_out::namelen`  

Was namelen: u32; now namelen: SocketAddrLen. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_rsrc_register::data`  

Was data: u64; now data: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_rsrc_register::tags`  

Was tags: u64; now tags: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_rsrc_update::data`  

Was data: u64; now data: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_rsrc_update2::data`  

Was data: u64; now data: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_rsrc_update2::tags`  

Was tags: u64; now tags: io_uring_ptr. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_setup`  

Was fn io_uring_setup(entries: u32, params: &mut io_uring_params) -> io::Result\<OwnedFd>; now unsafe fn io_uring_setup(entries: u32, params: &mut io_uring_params) -> io::Result\<OwnedFd>. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_sync_cancel_reg::addr`  

Was addr: u64; now addr: io_uring_user_data. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::io_uring_sync_cancel_reg::pad`  

Was pad: \[u64; 4\]; now pad: \[u8; 7\]. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringMsgringCmds::Data`  

Was Data = sys::IORING_MSG_DATA as \_; now Data = sys::io_uring_msg_ring_flags::IORING_MSG_DATA as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringMsgringCmds::SendFd`  

Was SendFd = sys::IORING_MSG_SEND_FD as \_; now SendFd = sys::io_uring_msg_ring_flags::IORING_MSG_SEND_FD as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringRegisterOp::RegisterBuffers`  

Was RegisterBuffers = sys::IORING_REGISTER_BUFFERS as \_; now RegisterBuffers = sys::io_uring_register_op::IORING_REGISTER_BUFFERS as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringRegisterOp::RegisterBuffers2`  

Was RegisterBuffers2 = sys::IORING_REGISTER_BUFFERS2 as \_; now RegisterBuffers2 = sys::io_uring_register_op::IORING_REGISTER_BUFFERS2 as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringRegisterOp::RegisterBuffersUpdate`  

Was RegisterBuffersUpdate = sys::IORING_REGISTER_BUFFERS_UPDATE as \_; now RegisterBuffersUpdate = sys::io_uring_register_op::IORING_REGISTER_BUFFERS_UPDATE as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringRegisterOp::RegisterEnableRings`  

Was RegisterEnableRings = sys::IORING_REGISTER_ENABLE_RINGS as \_; now RegisterEnableRings = sys::io_uring_register_op::IORING_REGISTER_ENABLE_RINGS as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringRegisterOp::RegisterEventfd`  

Was RegisterEventfd = sys::IORING_REGISTER_EVENTFD as \_; now RegisterEventfd = sys::io_uring_register_op::IORING_REGISTER_EVENTFD as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringRegisterOp::RegisterEventfdAsync`  

Was RegisterEventfdAsync = sys::IORING_REGISTER_EVENTFD_ASYNC as \_; now RegisterEventfdAsync = sys::io_uring_register_op::IORING_REGISTER_EVENTFD_ASYNC as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringRegisterOp::RegisterFileAllocRange`  

Was RegisterFileAllocRange = sys::IORING_REGISTER_FILE_ALLOC_RANGE as \_; now RegisterFileAllocRange = sys::io_uring_register_op::IORING_REGISTER_FILE_ALLOC_RANGE as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringRegisterOp::RegisterFiles`  

Was RegisterFiles = sys::IORING_REGISTER_FILES as \_; now RegisterFiles = sys::io_uring_register_op::IORING_REGISTER_FILES as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)
- **Signature changed** `rustix::io_uring::IoringRegisterOp::RegisterFiles2`  

Was RegisterFiles2 = sys::IORING_REGISTER_FILES2 as \_; now RegisterFiles2 = sys::io_uring_register_op::IORING_REGISTER_FILES2 as \_. [crates.io](https://crates.io/crates/rustix/1.0.0)

And 86 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## rustix 0.38.0 breaking changes

rustix 0.38.0, released June 28, 2023: 55 breaking changes.

- **Removed** `CBAUD`  

Speed handling moved to Termios methods; no direct replacement is named. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)
- **Removed** `cfsetispeed`  

Use the set_input_speed method on Termios instead. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)
- **Removed** `cfsetospeed`  

Use the set_output_speed method on Termios instead. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)
- **Removed** `cfsetspeed`  

Use the set_speed method on Termios instead. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)
- **Removed** `CIBAUD`  

Speed handling moved to Termios methods; no direct replacement is named. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)
- **Removed** `io_uring_cqe`  

io_uring_cqe no longer implements Copy and Clone; copies must be handled differently. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)
- **Removed** `Pid.from_raw_nonzero`  

Use Pid::from_raw_unchecked instead. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)
- **Removed** `Protocol.default`  

Replace Protocol::default() with None. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)
- **Removed** `tcgetattr2`  

Speed handling moved to Termios methods; no direct replacement is named. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)
- **Removed** `tcsetattr2`  

Speed handling moved to Termios methods; no direct replacement is named. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.38.0)

And 45 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## rustix 0.37.0 breaking changes

rustix 0.37.0, released March 3, 2023: 153 breaking changes.

- **Renamed**  

Some Linux capabilities functions were renamed; the document does not list the new names. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.37.0)
- **Renamed** `io_uring.IoringRecvsendFlags`  

io_uring::IoringRecvsendFlags is now split into separate send and receive types; update code that uses it. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.37.0)
- **Behavior changed** `stdout`  

stdout and related functions are now safe in std mode, so calls that previously required unsafe may no longer need it. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.37.0)
- **Signature changed** `epoll`  

epoll no longer takes a context; update calls that passed one. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.37.0)
- **Signature changed** `fs.seek`  

fs::seek now takes rustix's SeekFrom rather than std::io::SeekFrom; convert arguments. [github.com](https://github.com/bytecodealliance/rustix/releases/tag/v0.37.0)
- **Signature changed** `rustix::fs::Access`  

Was pub use constants::Access; now pub use backend::fs::types::Access. [crates.io](https://crates.io/crates/rustix/0.37.0)
- **Signature changed** `rustix::fs::AtFlags`  

Was pub use constants::AtFlags; now pub use backend::fs::types::AtFlags. [crates.io](https://crates.io/crates/rustix/0.37.0)
- **Signature changed** `rustix::fs::CloneFlags`  

Was pub use constants::CloneFlags; now pub use backend::fs::types::CloneFlags. [crates.io](https://crates.io/crates/rustix/0.37.0)
- **Signature changed** `rustix::fs::copy_file_range`  

The len argument of copy_file_range is now usize instead of u64; adjust callers. [crates.io](https://crates.io/crates/rustix/0.37.0)
- **Signature changed** `rustix::fs::copyfile_state_t`  

Was pub use fcopyfile::copyfile_state_t; now pub use backend::fs::types::copyfile_state_t. [crates.io](https://crates.io/crates/rustix/0.37.0)

And 143 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## rustix 0.33.0 breaking changes

rustix 0.33.0, released January 26, 2022: 1 breaking change.

- **Signature changed** `rustix::fs::fcntl_get_seals`  

Was fn fcntl_get_seals\<Fd: AsFd>(fd: &Fd) -> io::Result\<u32>; now fn fcntl_get_seals\<Fd: AsFd>(fd: &Fd) -> io::Result\<SealFlags>. [crates.io](https://crates.io/crates/rustix/0.33.0)

## rustix 0.32.0 breaking changes

rustix 0.32.0, released January 19, 2022: 6 breaking changes.

- **Signature changed** `rustix::fs::futimens`  

Was fn futimens\<Fd: AsFd>(fd: &Fd, times: &\[Timespec; 2\]) -> io::Result<()>; now fn futimens\<Fd: AsFd>(fd: &Fd, times: &Timestamps) -> io::Result<()>. [crates.io](https://crates.io/crates/rustix/0.32.0)
- **Signature changed** `rustix::fs::mknodat`  

Was fn mknodat\<P: path::Arg, Fd: AsFd>(dirfd: &Fd, path: P, mode: Mode, dev: Dev) -> io::Result<()>; now fn mknodat\<P: path::Arg, Fd: AsFd>(dirfd: &Fd, path: P, file_type: FileType, mode: Mode, dev: Dev) -> io::Result<()>. [crates.io](https://crates.io/crates/rustix/0.32.0)
- **Signature changed** `rustix::fs::utimensat`  

Was fn utimensat\<P: path::Arg, Fd: AsFd>(dirfd: &Fd, path: P, times: &\[Timespec; 2\], flags: AtFlags) -> io::Result<()>; now fn utimensat\<P: path::Arg, Fd: AsFd>(dirfd: &Fd, path: P, times: &Timestamps, flags: AtFlags) -> io::Result<()>. [crates.io](https://crates.io/crates/rustix/0.32.0)
- **Signature changed** `rustix::io::preadv`  

Was fn preadv\<Fd: AsFd>(fd: &Fd, bufs: &\[IoSliceMut<'\_>\], offset: u64) -> io::Result\<usize>; now fn preadv\<Fd: AsFd>(fd: &Fd, bufs: &mut \[IoSliceMut<'\_>\], offset: u64) -> io::Result\<usize>. [crates.io](https://crates.io/crates/rustix/0.32.0)
- **Signature changed** `rustix::io::preadv2`  

Was fn preadv2\<Fd: AsFd>(fd: &Fd, bufs: &\[IoSliceMut<'\_>\], offset: u64, flags: ReadWriteFlags) -> io::Result\<usize>; now fn preadv2\<Fd: AsFd>(fd: &Fd, bufs: &mut \[IoSliceMut<'\_>\], offset: u64, flags: ReadWriteFlags) -> io::Result\<usize>. [crates.io](https://crates.io/crates/rustix/0.32.0)
- **Signature changed** `rustix::io::readv`  

Was fn readv\<Fd: AsFd>(fd: &Fd, bufs: &\[IoSliceMut<'\_>\]) -> io::Result\<usize>; now fn readv\<Fd: AsFd>(fd: &Fd, bufs: &mut \[IoSliceMut<'\_>\]) -> io::Result\<usize>. [crates.io](https://crates.io/crates/rustix/0.32.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
