Sign inSign up
c2rust logo

neocrym/c2rust

By neocrym

•Updated over 5 years ago

Transpiles C code into Rust code.

Image
0

10K+

neocrym/c2rust repository overview

⁠A Docker image for C2Rust - Transpile C code into Rust

This is a third-party Docker image for the C2Rust⁠ transpiler.

This Docker setup is a little more self-contained than the official C2Rust Docker image⁠.

Read the C2Rust Manual⁠ for instructions on how to use C2Rusgt (and this container) to transpile C source code into Rust source code.

⁠Using this image with Docker Compose

A typical docker-compose.yml file for using this image might look like:

version: "3.9"

services:
  c2rust:
    image: neocrym/c2rust
    init: true
    network_mode: host
    working_dir: /host
    volumes:
      - type: bind
        source: "."
        target: /host

Tag summary

Content type

Image

Digest

Size

848.5 MB

Last updated

over 5 years ago

docker pull neocrym/c2rust