← Back to feed

Crustify: Repository-Level Generation of Safe Rust Bindings with LLM Agents and Coverage-Guided Testing

L5 · ResearcherResearcharXiv· 11/7/2026

Presents novel ML-powered tooling for automated safe language interop, relevant to systems programming and ML engineering research.

AI Summary

Crustify introduces an LLM agent system that automatically generates safe Rust bindings for C libraries using coverage-guided testing, reducing unsafe code from 100% to under 2%.

Excerpt

Wrapping C code in a safe Rust interface lets Rust applications use it without writing unsafe code, until the code itself is migrated to Rust. Such bindings are tedious and error-prone to write, however: their internals use unsafe code that the Rust compiler does not check, so a single mistake can introduce undefined behavior (UB), and they have so far been written mostly by hand. We present Crustify, an agentic co-translator that generates safe Rust bindings for repository-level C libraries. Cr

Read Original
0 upvotes · 0 downvotes · 1 min read

Related Articles

L5 · ResearcherResearcharXiv
PatternBloom: Empowering Agentic RAG with Externalized RL-Distilled Graph Patterns

PatternBloom introduces a novel agentic RAG framework that externalizes reasoning patterns through RL distillation, achieving +15.0 Avg-OOD EM improvement over 27 baselines.

L5 · ResearcherResearcharXiv
GEAR: A GPU-Accelerated Global Solver for Bounded Continuous Nonlinear Programs via Linear Bound Propagation

Researchers present GEAR, a GPU-accelerated global solver for nonlinear programming that adapts neural network verification techniques to outperform commercial solvers on benchmark problems.

L5 · ResearcherResearcharXiv
Sampling Is Not Curiosity: Why LLM Agents Should Investigate

Researchers propose a framework distinguishing true curiosity from stochastic sampling in LLM agents, arguing current methods don't satisfy RL-based curiosity definitions.

L3 · BuilderResearchOne Useful Thing
Fable 5.2 and Jagged AGI

Anthropic's Claude Fable 5.2 demonstrates near-AGI capabilities with impressive code and video generation but shows 'jagged' performance gaps in some expert tasks.

L5 · ResearcherResearcharXiv
Safer for Whom? A Systematic Exploration of AI Safety in Eating Disorder Interactions

Researchers systematically evaluate three open-weight LLMs for eating disorder safety, finding significant disparities based on race, gender, and BMI.