3 #[link(name = "exporter", kind = "raw-dylib")]
6 fn imported_function();
8 static mut imported_variable: i32;
10 fn print_imported_variable();
13 pub fn library_function() {
16 imported_variable = 42;
17 print_imported_variable();
18 imported_variable = -42;
19 print_imported_variable();