Refactor function signatures to use slices

This commit is contained in:
Michael Schimmel
2026-03-03 18:13:20 +01:00
parent 7c38dee243
commit 8c4db9a5ba
12 changed files with 262 additions and 209 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ mod tests {
.expect("Failed to compile");
let linked = env.link(compiled);
let func = env.instantiate(linked);
let result: Result<Value, String> = Ok((func.func)(vec![]));
let result: Result<Value, String> = Ok((func.func)(&[]));
match result {
Ok(Value::Int(20)) => (),