mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-27 02:39:28 +00:00
Renamed UserFunc to ImportedFunc
This commit is contained in:
@ -337,7 +337,7 @@ impl FuncTranslator {
|
||||
if let Some((index, _)) =
|
||||
func_names.iter().find(|(_, name)| *name == target)
|
||||
{
|
||||
reloc_target = Some(RelocationTarget::UserFunc(index));
|
||||
reloc_target = Some(RelocationTarget::ImportedFunc(index));
|
||||
} else {
|
||||
if let Some(libcall) = libcalls.get(&target.to_string()) {
|
||||
reloc_target = Some(RelocationTarget::LibCall(*libcall));
|
||||
|
Reference in New Issue
Block a user