uutils / uutils/coreutils

uucore: fs feature fails to compile on redox

Open
#14,704 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

$ cargo clippy -p uucore --features fs --all-targets --target x86_64-unknown-redox
error[E0425]: cannot find function `symlinkat` in module `rustix::fs`
    --> src/uucore/src/lib/features/fs.rs:1250:21
     |
1250 |         rustix::fs::symlinkat(target, rustix::fs::CWD, dest).map_err(Into::into)

https://github.com/uutils/coreutils/pull/14623#issuecomment-5734410553

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the reported cargo clippy command for uucore with the fs feature and x86_64-unknown-redox target. Inspect src/uucore/src/lib/features/fs.rs around line 1250 and the rustix::fs API involved; the work is done when this target compiles successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.