1 extern "C" int cc_double_value(int value); 2 extern "C" int rust_double_value(int value); 3 4 // `wasm32-unknown-unknown` is very barebones, so we have to define `_start()` 5 // and we don't have access to `stdio.h` or `iostream`, so we can't output 6 // anything, but we can still call the functions. _start()7extern "C" void _start() { 8 cc_double_value(5); 9 rust_double_value(5); 10 } 11