Skip to content

rustix does not support rlimit on Redox #14914

Closed

Description

@xtqqczze
$ RUSTC_BOOTSTRAP=1 cargo check -q -Zbuild-std --all-targets --features feat_os_unix_redox --target i586-unknown-redox --target x86_64-unknown-redox
error[E0432]: unresolved imports `rustix::process::Resource`, `rustix::process::Rlimit`, `rustix::process::setrlimit`
  --> tests/uutests/src/lib/util.rs:28:23
   |
28 | use rustix::process::{Resource, Rlimit, setrlimit};
   |                       ^^^^^^^^  ^^^^^^  ^^^^^^^^^ no `setrlimit` in `process`
   |                       |         |
   |                       |         no `Rlimit` in `process`
   |                       no `Resource` in `process`

For more information about this error, try `rustc --explain E0432`.
Pinned by xtqqczze

Activity

  1. changed the title [-]redox: rustix::process does not support limit[/-] [+]redox: rustix::process does not support rlimit[/+] on Sep 28, 2026
  2. changed the title [-]redox: rustix::process does not support rlimit[/-] [+]redox: rustix does not support rlimit[/+] on Sep 28, 2026
  3. changed the title [-]redox: rustix does not support rlimit[/-] [+]rustix does not support rlimit on Redox[/+] on Sep 29, 2026
  4. added
    P - UnixAll Unix-like platforms
    P - RedoxOS written almost entirely in Rust
    and removed
    P - UnixAll Unix-like platforms
    on Sep 29, 2026
  5. xtqqczze commented on Oct 25, 2026

    @xtqqczze
    CollaboratorAuthor

    Resolved by replacing rustix::process dependency with rlimit crate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P - RedoxOS written almost entirely in Rust

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions