Conversation
|
could you please also fix the clippy warnings? |
|
@sylvestre what's your opinion on the unused code? I think we should delete it if we're not using it. |
|
as we are forking the lib, yes |
|
FWIW this is what I meant by "relevant code" in #4289: copy the parts you actually use. |
|
Indeed! @publicmatt to answer this question then:
Let's only use the relevant code like @SimonSapin suggests :) |
|
That makes sense - thanks for the guidance. |
|
@publicmatt do you have an update? |
I just pushed an update where I removed all dead code from the utf8 crate that was incorporated. I'm not sure what the merge process looks like - should I squash all those commits or does that happen with the pull request? |
We usually keep the commits, but we squash sometimes if a contributor made a mess of the history. So I'd be nice if you could clean those up. In this case I think 1 commit would suffice. |
29e3a3a to
60b227f
Compare
Makes sense! I did the following to combine my mess of commits: I think that's right?? |
|
I usually use interactive rebase for this. But I think it's correct :) |
|
Getting acquainted with all the checks - I'll fix them up and push again. |
|
Needs rustfmt & clippy fixes please :) |
58cc38d to
2e75372
Compare
|
I ran and fixed suggestions from: |
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
|
GNU testsuite comparison: |
First time contributor. I wanted to help so I plucked an issue with the "good first issue" tag.
This commit addresses #4289
Summary:
The author of one of the
wcdependencies opened an issue stating that the crate and repo were being deprecated. They suggested incorporating what was needed into coreutils directly and removing the dependency. I incorporated and builtuu_wcwhich should fix this issue.Of note: there are a few 'unused' warnings in the incorporated code - should I try to remove that as well?