wip/c2rust 0.20.0.20250630 NetBSD
Translate C modules into semantically equivalent Rust code
- System
- NetBSD
- Repository
- pkgsrc-wip
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- wip, devel
Description
C2Rust helps you migrate C99-compliant code to Rust. The translator (or transpiler) produces unsafe Rust code that closely mirrors the input C code. The primary goal of the translator is to preserve functionality; test suites should continue to pass after translation. Generating safe and idiomatic Rust code from C ultimately requires manual effort.
Install
From pkgsrc-wip (no binary package):
cd /usr/pkgsrc/wip/c2rust && make install clean
Dependencies
Build dependencies 1
Run dependencies 3
No port depends on this one.