Skip to content

Template for building Rust based modules Into C programs with CMake

Notifications You must be signed in to change notification settings

PGIII/c_rust_template

Repository files navigation

Blog Post

Requires

  • CMake
  • Ninja
  • Rustc/Cargo

Building

Building of both the rust module and the main C program are done through CMake with CMakePresets

Configuring

Release

cmake --preset default

Debug

cmake --preset debug

Building

Release

cmake --build --preset default

Debug

cmake --build --preset debug

About

Template for building Rust based modules Into C programs with CMake

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published