Declare an external function import. Users of the `Module` API generally should call `Module::declare_func_in_data` instead, as it takes care of generating the appropriate `ExternalName`.
(&mut self, name: ModuleRelocTarget)
| 134 | /// `Module::declare_func_in_data` instead, as it takes care of generating |
| 135 | /// the appropriate `ExternalName`. |
| 136 | pub fn import_function(&mut self, name: ModuleRelocTarget) -> ir::FuncRef { |
| 137 | self.function_decls.push(name) |
| 138 | } |
| 139 | |
| 140 | /// Declares a global value import. |
| 141 | /// |