()
| 115 | |
| 116 | #[test] |
| 117 | fn cdylib_arbitrary_export() { |
| 118 | let output = compile( |
| 119 | &["--crate-type", "cdylib"], |
| 120 | r#" |
| 121 | #[no_mangle] |
| 122 | pub extern "C" fn foo() { |
| 123 | println!("x"); |
| 124 | } |
| 125 | "#, |
| 126 | ); |
| 127 | assert_component(&output); |
| 128 | } |
| 129 | |
| 130 | #[test] |
| 131 | fn can_access_badfd() { |
nothing calls this directly
no test coverage detected