DEVELOPMENT ENVIRONMENT

~liljamo/hare-rust-ffi-test

ref: b76de4b1f83c99c225c83e958636fd6dca09eedf hare-rust-ffi-test/README.md -rw-r--r-- 523 bytes
b76de4b1Jonni Liljamo feat: init 4 days ago

#hare-rust-ffi-test

Just a quick test on Hare <-> Rust FFI.

Uses cc to link the final binary, since Rust's static libraries produce .a archives which hare build doesn't pick up automagically (unlike plain .os).

Although, the above only matters if you want the Rust standard library. Without it, rustc can build a simple .o file that works on its own and automagically with hares module system (assuming glibc is present, I think).

#TODO:

#Automate the hare stdlib builds

Parse hare deps for that.