Repository navigation
chore: remove twelve ghost module skeletons that never entered the compile tree - #597
Merged
Merged
Conversation
…mpile tree
src/shell/{error,general,list,mailcheck,quit,runtime,unwind,version}.rs,
src/jobs/{siglist,signals}.rs and src/complete/{pcomplete,pcomplib}.rs
were five-line GNU-source-ownership placeholders with no `mod`
declaration anywhere - they never compiled, never got referenced, and
their intended mappings (pcomplete.c, error.c, ...) are already
anchored in the real implementation files' comments. Found by a cloc
pass (code == 0). cargo check -D warnings and the full suite are
untouched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found by a cloc pass (code == 0):
src/shell/{error,general,list,mailcheck,quit,runtime,unwind,version}.rs,src/jobs/{siglist,signals}.rs,src/complete/{pcomplete,pcomplib}.rswere five-line GNU-source-ownership placeholders ("error module. / GNU Bash source ownership: error.c, error.h") with nomoddeclaration anywhere — they never compiled, never got referenced, and their intended mappings (pcomplete.c, error.c, findcmd.c anchors) are already anchored in the real implementation files' comments.cargo check -D warningsuntouched; the full suite is the CI's to judge on a clean runner (local runs carry known environment-only failures: bashdb fixture, tilde/cli env family).Note:
src/executor/path.rsalso reports code == 0 to cloc, but that is a cloc block-comment misparse (a\\*literal in the file) — the file has ~3.4k live lines and stays.