mirror of
https://github.com/exoticorn/microw8.git
synced 2026-01-20 11:16:42 +01:00
add simple rust example
This commit is contained in:
@@ -440,10 +440,10 @@ fn remap_function(
|
||||
De::BrTable { .. } => todo!(),
|
||||
De::Return => En::Return,
|
||||
De::Call { function_index } => En::Call(
|
||||
dbg!(*function_map
|
||||
*function_map
|
||||
.get(&function_index)
|
||||
.ok_or_else(|| anyhow!("Function index out of range: {}", function_index))?,
|
||||
)),
|
||||
),
|
||||
De::CallIndirect { .. }
|
||||
| De::ReturnCall { .. }
|
||||
| De::ReturnCallIndirect { .. }
|
||||
|
||||
Reference in New Issue
Block a user