aosmond / myrustffi

Rust FFI test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This demonstrates an FFI bug between C++ and Rust, where parameters pushed onto the stack are incorrect.

./build-debug.sh
./run-debug.sh

C++ will print the width, height and repeat horizontal/vertical values it expects. Rust will print everything it received. And they will not match.

About

Rust FFI test


Languages

Language:C++ 53.0%Language:Rust 40.2%Language:Shell 6.8%