Skip to content

build(uucore): support --no-default-features - #15372

Merged
sylvestre merged 1 commit into
uutils:mainfrom
xtqqczze:GH15339
Nov 27, 2026
Merged

sylvestre merged 1 commit into
uutils:mainfrom
xtqqczze:GH15339

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Support --no-default-features without including nix dependency.

Refs #15339.

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
Contributor

Merging this PR will not alter performance

1 warning, 1 note

⚠️ 125 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

✅ 415 untouched benchmarks
⏩ 70 skipped benchmarks1


Comparing xtqqczze:GH15339 (5776b23) with main (ab69b86)2

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. ↩

  2. No successful run was found on main (5b84528) during the generation of this report, so ab69b86 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@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 3 times, most recently from 5ff676b to b56f970 Compare October 25, 2026 19:14
@xtqqczze
xtqqczze marked this pull request as draft November 7, 2026 17:47
@xtqqczze
xtqqczze force-pushed the GH15339 branch 2 times, most recently from 014a5b1 to 7dc2c70 Compare November 10, 2026 03:31
@xtqqczze
xtqqczze marked this pull request as ready for review November 12, 2026 02:51
Comment thread src/uucore/Cargo.toml Resolved
Comment thread src/uucore/src/lib/features/signals.rs Resolved
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

Comment thread src/uucore/src/lib/lib.rs Resolved
Comment thread src/uucore/src/lib/lib.rs Resolved
Comment thread src/uucore/src/lib/features/signals.rs Resolved
@xtqqczze
xtqqczze marked this pull request as draft November 21, 2026 14:50
@xtqqczze
xtqqczze force-pushed the GH15339 branch 4 times, most recently from 8c4f2e3 to 93fe091 Compare November 26, 2026 22:37
@xtqqczze xtqqczze changed the title uucore: build with --no-default-features build(uucore): support --no-default-features Nov 26, 2026
@xtqqczze
xtqqczze marked this pull request as ready for review November 26, 2026 22:43
@sylvestre
sylvestre force-pushed the GH15339 branch 2 times, most recently from 2d9568f to fc6eb21 Compare November 27, 2026 10:06
Comment thread src/uucore/src/lib/mods/panic.rs Resolved
```sh
RUSTC_BOOTSTRAP=1 cargo clippy -q -Zbuild-std=std,panic_abort -p uucore --all-targets --no-default-features --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
```
@sylvestre
sylvestre merged commit 7c53bec into uutils:main Nov 27, 2026
229 of 232 checks passed
@sylvestre

Copy link
Copy Markdown
Contributor

Thanks for your PR

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.

2 participants