Skip to content

chore: remove twelve ghost module skeletons that never entered the compile tree - #597

Merged
caomengxuan666 merged 1 commit into
masterfrom
chore/remove-ghost-module-skeletons
Oct 13, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
chore/remove-ghost-module-skeletons

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

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}.rs were five-line GNU-source-ownership placeholders ("error module. / GNU Bash source ownership: error.c, error.h") with no mod declaration 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 warnings untouched; 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.rs also 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.

…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.
@caomengxuan666
caomengxuan666 merged commit ca9bddc into master Oct 13, 2026
8 checks passed
@caomengxuan666
caomengxuan666 deleted the chore/remove-ghost-module-skeletons branch October 14, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant