Charlie Marsh says Codex built a Rust lint that deleted thousands of lines
charliermarsh · x · 2026-07-21
Charlie Marsh says he used Codex to build hawk, a workspace-aware Cargo lint that finds unnecessary Rust visibility and dead code.
- The tool analyzes an entire Cargo workspace, starting from production targets.
- It reports unused public items, items that can be made pub(crate), and visibility that can be narrowed.
- Marsh says it has already deleted thousands of lines from both uv and Codex itself.
Related event: Dev builds Rust dead code cleanup tool hawk with Codex(2 posts)→
More from coding & agent
- 'Let an agent run wild on vague goals and it makes your code worse 9 out of 10 times' — eptwts · 2026-10-27
- LangChain to demo the in-house design agent its team uses daily, this Wednesday — LangChain · 2026-10-27
- Biotech Agent Series Day 8: A Notebook Review Agent to Auto-Audit Lab Records — nlarusstone · 2026-10-27
- Photon Launches Agent-to-Agent Messaging in iMessage for Real AI Collaboration — alvelda · 2026-10-27
- Fake-paper meme shows an agent workflow for reverse engineering trading systems into a one-person quant fund — PtrPomorski · 2026-10-27
- Codex clones Linear's core from a one-page spec in 3 minutes 28 seconds — aakashgupta · 2026-10-27