Skip to content

Update rustix requirement from 0.38.18 to 1.0.5 #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2025

Updates the requirements on rustix to permit the latest version.

Changelog

Sourced from rustix's changelog.

Changes from 0.38.x to 1.x

Silent behavior changes

rustix::pipe::fcntl_setpipe_size now returns the new size, which may be greater than the requested size.

When a &mut Vec<_> is passed to rustix::event::epoll::wait, rustix::event::kqueue::kevent, or rustix::event::port::getn, these functions previously adjusted the length of the Vec to the number of elements written, and now do not. A common alternative is to wrap the &mut Vec<_> using spare_capacity, and then to clear the Vec by iterating using .drain(..) after each call. For an example of using spare_capacity in this way, see here.

API changes

rustix::thread::FutexOperation and rustix::thread::futex are removed. Use the functions in the rustix::thread::futex module instead.

rustix::process::waitpid's return type changed from WaitStatus to (Pid, WaitStatus), to additionally return the pid of the child.

terminating_signal and other functions in rustix::process::WaitStatus changed from returning u32 to returning i32, for better compatibility with the new Signal type and exit.

The SLAVE flag in rustix::mount::MountPropagationFlags is renamed to DOWNSTREAM.

... (truncated)

Commits
  • cb01fbe chore: Release rustix version 1.0.5
  • 310f8ec Mark 32-bit x86 freebsd as needing y2038 fixes. (#1430)
  • 1997940 chore: Release rustix version 1.0.4
  • d2fe327 For tidiness, keep the target_os = "..." lists sorted alphabetically. (#1429)
  • 416b4c3 Handle Duration overflow gracefully in kevent. (#1427)
  • bd5427c Fix build, sockopts and examples for cygwin (#1428)
  • 92cd57a Temporarily disable x86_64-uwp-windows-msvc in CI due to build errors on nigh...
  • 458ab31 chore: Release rustix version 1.0.3
  • b3cd8a1 Use a consistent error mechanism for timeout overflow. (#1422)
  • 10ce1e0 Update the backends tests. (#1423)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [rustix](https://github.com/bytecodealliance/rustix) to permit the latest version.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGES.md)
- [Commits](bytecodealliance/rustix@v0.38.18...v1.0.5)

---
updated-dependencies:
- dependency-name: rustix
  dependency-version: 1.0.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update rust code
Development

Successfully merging this pull request may close these issues.

0 participants