Rust, C FFI script to return a Rust code
⚓ Rust 📅 2025-12-30 👤 surdeus 👁️ 8Hi everyone, I am learning Rust, C FFIs (goal is to write C code into Rust).
Where I am at the moment in the project is just before I link Rust to C and do bindings - with the script containing environmental variables, when I call them on Cargo - a segmentation fault resulted...with a long error message about the op system and (the C source code is from a NGINX) --- Chat GPT says I cannot call the script by cargo build .
Anyone with ideas or experience of something similar?
Thank you.
1 post - 1 participant
🏷️ Rust_feed