Call Rust function from C: Skeleton
[learn-rust.git] / call-rust-from-c / src / main.c
1 #include <stdio.h>
2 #include "rustlib.h"
3
4 int main()
5 {
6     printf("The answer: %i\n", answer());
7     return 0;
8 }