Skip to content

uucore: build with --no-default-features - #15372

Open
xtqqczze wants to merge 3 commits into
uutils:mainfrom
xtqqczze:GH15339
Open

xtqqczze wants to merge 3 commits into
uutils:mainfrom
xtqqczze:GH15339

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #15339.
Closes #15362.

RUSTC_BOOTSTRAP=1 cargo clippy -q -Zbuild-std=std,panic_abort -p uucore --all-targets --no-default-features --target=powerpc64-ibm-aix --target=i686-linux-android --target=x86_64-linux-android --target=x86_64-pc-cygwin --target=aarch64-apple-darwin --target=x86_64-unknown-dragonfly --target=x86_64-unknown-freebsd --target=x86_64-unknown-haiku --target=x86_64-unknown-hurd-gnu --target=aarch64-unknown-illumos --target=x86_64-unknown-linux-gnu --target=i686-unknown-netbsd --target=x86_64-unknown-netbsd --target=x86_64-unknown-openbsd --target=x86_64-unknown-redox --target=x86_64-pc-solaris --target=wasm32-wasip1 --target=x86_64-pc-windows-gnu

@xtqqczze
xtqqczze force-pushed the GH15339 branch 2 times, most recently from b12d4c7 to 7d43fbf Compare October 15, 2026 13:31
@xtqqczze xtqqczze changed the title fixup! uucore: print "Operation not permitted" for EPERM uucore: build with --no-default-features Oct 15, 2026
@codspeed

codspeed Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning, 1 note

⚠️ 119 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

ℹ️ 1 benchmark has no flamegraph

The flamegraph wasn't generated: most of the time was spent in runtime internals, which would leave nothing useful to analyze.

See affected benchmarks

✅ 401 untouched benchmarks
⏩ 70 skipped benchmarks1


Comparing xtqqczze:GH15339 (5ff676b) with main (366c18c)

Open in CodSpeed

Footnotes

  1. 70 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@xtqqczze
xtqqczze force-pushed the GH15339 branch 4 times, most recently from c545582 to ba9c9fc Compare October 18, 2026 02:41
@xtqqczze
xtqqczze force-pushed the GH15339 branch 2 times, most recently from d3513bd to 5ff676b Compare October 24, 2026 16:05
Use `libc::EPERM` instead of `nix::errno::Errno::EPERM` to avoid referencing the optional `nix` dependency when it is not enabled.
```sh
RUSTC_BOOTSTRAP=1 cargo clippy -q -Zbuild-std=std,panic_abort -p uucore --all-targets --no-default-features --target=powerpc64-ibm-aix --target=i686-linux-android --target=x86_64-linux-android --target=x86_64-pc-cygwin --target=aarch64-apple-darwin --target=x86_64-unknown-dragonfly --target=x86_64-unknown-freebsd --target=x86_64-unknown-fuchsia --target=x86_64-unknown-haiku --target=x86_64-unknown-hurd-gnu --target=aarch64-unknown-illumos --target=x86_64-unknown-linux-gnu --target=i686-unknown-netbsd --target=x86_64-unknown-netbsd --target=x86_64-unknown-openbsd --target=x86_64-unknown-redox --target=x86_64-pc-solaris --target=wasm32-wasip1 --target=x86_64-pc-windows-gnu
```
@codspeed

codspeed Bot commented Oct 25, 2026

Copy link
Copy Markdown

Unable to generate the performance report

There was an internal error while processing the run's data. We're working on fixing the issue. Feel free to contact us at support@codspeed.io or on Discord if the issue persists.

This branch has not been deployed

No deployments
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.

uucore: doesn't build with --no-default-features

1 participant