uucore: fs feature fails to compile on redox
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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