(link: &WasmLinkMetadataOut)
| 7970 | } |
| 7971 | |
| 7972 | fn wasm_export_name_set(link: &WasmLinkMetadataOut) -> HashSet<String> { |
| 7973 | link.exports |
| 7974 | .iter() |
| 7975 | .flat_map(|export| { |
| 7976 | let normalized = export.name.trim_start_matches('_').to_owned(); |
| 7977 | [export.name.clone(), normalized] |
| 7978 | }) |
| 7979 | .collect() |
| 7980 | } |
| 7981 | |
| 7982 | fn has_wasm_export(link: &WasmLinkMetadataOut, name: &str) -> bool { |
| 7983 | link.exports |
no test coverage detected