(import: &WasmImportOut)
| 7956 | } |
| 7957 | |
| 7958 | fn import_should_resolve_from_runtime(import: &WasmImportOut) -> bool { |
| 7959 | match import.module.as_str() { |
| 7960 | "env" | "GOT.func" | "GOT.mem" => !matches!( |
| 7961 | import.name.as_str(), |
| 7962 | "__indirect_function_table" |
| 7963 | | "__memory_base" |
| 7964 | | "__stack_pointer" |
| 7965 | | "__table_base" |
| 7966 | | "memory" |
| 7967 | ), |
| 7968 | _ => false, |
| 7969 | } |
| 7970 | } |
| 7971 | |
| 7972 | fn wasm_export_name_set(link: &WasmLinkMetadataOut) -> HashSet<String> { |
| 7973 | link.exports |
no outgoing calls
no test coverage detected