DEVELOPMENT ENVIRONMENT

~liljamo/hare-rust-ffi-test

quick test on Hare <-> Rust FFI

refs

master
browse  log 

clone

read-only
https://git.src.quest/~liljamo/hare-rust-ffi-test
read/write
git@git.src.quest:~liljamo/hare-rust-ffi-test

You can also use your local clone with git send-email.

#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.