Rustify: Towards Repository-Level C to Safer Rust via Workflow-Guided Multi-Agent Transpiler
Its authors withdrew this paper, so there is no full text to read or summarize.
Abstract
Translating C to Rust at the repository level presents unique challenges because of complex dependencies and the differences between C's manual memory model and Rust's strict ownership rules. Existing approaches often overlook repository-wide dependencies and contextual structure, resulting in impractical and potentially unsafe Rust code. We propose Rustify, a workflow-guided architecture for repository-level C-to-Rust translation. Rustify decomposes the translation process into modular and role-specific stages, aligned with the structure of source repositories rather than dynamic plan-and-act strategies. These stages address the structural challenges of repository-level C-to-Rust translation, such as determining translation units and resolving cross-file dependencies, with each stage assigned to a dedicated LLM-powered agent. By orchestrating these agents through a structured workflow, Rustify systematically manages repository-wide translation while maintaining semantic equivalence and memory safety.The framework further integrates compiler feedback through tree search–based iterative repair and leverages a dynamic experience base to guide future translations. Experiments show that Rustify consistently produces fully memory-safe Rust code, reducing unsafe code by up to 99% compared to prior approaches. It successfully compiles eight out of nine repositories, raises the test pass rate from 10.5% in the baseline to 86.4%, and achieves high-quality, idiomatic Rust translation with CodeBLEU scores reaching 0.76. A replication repository is available at https://github.com/rustify712/Rustify.
BibTeX
@misc{wang2026rustify,
author = {Chen Wang and Yujun Huang and Peng Li and Lina Gong and Fei Wu},
title = {{Rustify: Towards Repository-Level C to Safer Rust via Workflow-Guided Multi-Agent Transpiler}},
year = {2026},
url = {https://openreview.net/forum?id=tjZHVvgmZt},
howpublished = {OpenReview},
note = {Submitted to ICLR 2026},
}Ask Althea to put this paper to the test.