Skip to content

Build the binary on top of the lib crate / Address remaining warnings - #17

Merged
ajwdev merged 3 commits into
mainfrom
ajw-dedup-main-lib
Oct 2, 2026
Merged

ajwdev merged 3 commits into
mainfrom
ajw-dedup-main-lib

Conversation

@ajwdev

@ajwdev ajwdev commented Oct 2, 2026

Copy link
Copy Markdown
Owner

main.rs re-declared every module instead of using the pallograph lib,
so each module compiled twice, unit tests ran twice, and the bin
reported dead code for items only the lib used. Import through the
lib instead, exposing config, load, and repl publicly for the bin.

Allow clippy::type_complexity for now (TODO to revisit)."

ajwdev and others added 3 commits October 2, 2026 11:48
main.rs re-declared every module instead of using the pallograph lib,
so each module compiled twice, unit tests ran twice, and the bin
reported dead code for items only the lib used. Import through the
lib instead, exposing config, load, and repl publicly for the bin.
Allow clippy::type_complexity for now (TODO to revisit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apply clippy --fix, convert manual prefix slicing to strip_prefix, and
remove unused items: CompiledProgram.arena, Step::Scan.n_cols,
Step::Insert.head_rel, and assert_rbac_axioms_from_snapshot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ajwdev
ajwdev merged commit acee772 into main Oct 2, 2026
2 checks passed
@ajwdev
ajwdev deleted the ajw-dedup-main-lib branch October 2, 2026 16:53
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