The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
292 B

#include <stdio.h>
#include <stdint.h>
int32_t hello_from_rust(const int32_t a, const int32_t b);
static void hello_from_c(void) {
printf("Hello from C!\n");
}
void hello_from_both(void) {
hello_from_c();
if (hello_from_rust(2, 3) == 5)
printf("Hello from Rust!\n");
}