fn main() { println!("Hello, world!"); } pub extern "C" fn get_mode() -> mylib::Modes { mylib::Modes::On }