Skip to content

refactor: drop unused allocator params left over from fs_compat retirement#294

Merged
indaco merged 2 commits intomainfrom
refactor/drop-vestigial-allocator-params
May 7, 2026
Merged

refactor: drop unused allocator params left over from fs_compat retirement#294
indaco merged 2 commits intomainfrom
refactor/drop-vestigial-allocator-params

Conversation

@indaco
Copy link
Copy Markdown
Owner

@indaco indaco commented May 7, 2026

Description

Removes vestigial _ = allocator; markers across the cli/, core/, ui/, and update/ trees. These were dead public-surface parameters - some left over from the fs_compat.Child.init(argv, allocator) API that no longer needs an allocator after the move to std.process.spawn, others kept "for parity" with sibling JSON helpers even though the body never touched the value.

The dispatcher table in main.zig is now slightly irregular: list and completions no longer accept an allocator because their bodies do not need one. Each command's signature now declares what it actually consumes rather than padding to a uniform shape that hid the dead weight.

Related Issue

  • None

Notes for Reviewers

  • None

@indaco indaco merged commit ac0bd28 into main May 7, 2026
3 checks passed
@indaco indaco deleted the refactor/drop-vestigial-allocator-params branch May 7, 2026 17:51
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