Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/src/packaging.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Packaging coreutils

<!-- spell-checker:ignore debuginfo manpages backtraces profdata profraw sysroot rustlib msvc Cprofile DESTDIR -->
<!-- spell-checker:ignore debuginfo manpages backtraces profdata profraw sysroot rustlib msvc Cprofile DESTDIR fakeroot -->

> **Note**: This page is intended as a guide for packaging the uutils coreutils
> for package maintainers. Normal users probably do not need to read this. If you
Expand Down Expand Up @@ -72,6 +72,15 @@ It is also possible to split the debuginfo into a separate package. See the
[`split-debuginfo`](https://doc.rust-lang.org/cargo/reference/profiles.html#split-debuginfo)
option in `cargo`.

On Linux, rustix's raw syscall backend bypasses libc function interposition.
An `LD_PRELOAD` interceptor such as `fakeroot` cannot override affected calls

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only id? if other utils are affected, please list them, otherwise say just id

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is probably difficult to list all utils. Add "for example" to somewhere.

in some utilities. For example, under `fakeroot`, `id -u` still reports the
real UID. To ship the multicall binary with rustix's libc wrappers, build with:

```bash
cargo build --release --features unix,rustix/use-libc
```

## Profile-Guided Optimization (PGO)

The release binaries we publish are built with [Profile-Guided
Expand Down
Loading