/rust-c-to-fortran-toy-ex

A toy example of how to talk to Fortran from Rust using the C-ABI

Primary LanguageRustThe UnlicenseUnlicense

Rust/C to Fortran example

A fortran function implemented in triangle.f90 being called from C/Rust.

Build Rust

$ cargo build
$ cargo run <arg>

Build C

$ make c_exe
$ ./c_exe <arg>