Skip to content

uucore: enable process feature of rustix#11792

Merged
sylvestre merged 1 commit into
uutils:mainfrom
cakebaker:uucore_enable_rustix_process
Apr 14, 2026
Merged

uucore: enable process feature of rustix#11792
sylvestre merged 1 commit into
uutils:mainfrom
cakebaker:uucore_enable_rustix_process

Conversation

@cakebaker
Copy link
Copy Markdown
Contributor

This PR enables the process feature of rustix to fix an "unresolved import" error that currently shows up when running the pr tests:

$ cargo test --features=pr --no-default-features
   Compiling uucore v0.8.0 (/home/dho/projects/coreutils/src/uucore)
error[E0432]: unresolved import `rustix::process`
   --> src/uucore/src/lib/features/mode.rs:182:21
    |
182 |         use rustix::process::umask;
    |                     ^^^^^^^ could not find `process` in `rustix`
    |
note: found an item that was configured out
   --> /home/dho/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.4/src/lib.rs:269:9
    |
267 | #[cfg(feature = "process")]
    |       ------------------- the item is gated behind the `process` feature

@oech3
Copy link
Copy Markdown
Contributor

oech3 commented Apr 13, 2026

Hmm... I considered that test CI for individual utils are dupe of full test, but we need
cargo check --tests --no-default-features --features uu_* on CI at least for.

@xtqqczze
Copy link
Copy Markdown
Contributor

This seems to be a reoccurring issue with CI...

@sylvestre sylvestre merged commit 07d6f27 into uutils:main Apr 14, 2026
166 of 167 checks passed
@sylvestre
Copy link
Copy Markdown
Contributor

patches to detect this in the ci are welcome :

@cakebaker cakebaker deleted the uucore_enable_rustix_process branch April 15, 2026 05:07
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.

4 participants