mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-25 01:39:26 +00:00
Renamed back into LocalFunc
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::ImportedFunc(index));
|
||||
reloc_target = Some(RelocationTarget::LocalFunc(index));
|
||||
} else {
|
||||
if let Some(libcall) = libcalls.get(&target.to_string()) {
|
||||
reloc_target = Some(RelocationTarget::LibCall(*libcall));
|
||||
|
Reference in New Issue
Block a user