Skip to content

Commit

Permalink
fix: Correct box
Browse files Browse the repository at this point in the history
  • Loading branch information
xdoardo committed Nov 5, 2024
1 parent 3072bdd commit 9246c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/wasix/tests/runners.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mod wasi {
.with_args(["--version"])
.with_stdin(Box::<virtual_fs::NullFile>::default())
.with_stdout(Box::new(stdout_2) as Box<_>)
.with_stderr(Box::<stderr_2>::default())
.with_stderr(Box::new(stderr_2) as Box<_>)
.run_command("wat2wasm", &pkg, Arc::new(rt))
});

Expand Down Expand Up @@ -97,7 +97,7 @@ mod wasi {
.with_args(["-c", "import sys; sys.exit(42)"])
.with_stdin(Box::<virtual_fs::NullFile>::default())
.with_stdout(Box::new(stdout_2) as Box<_>)
.with_stderr(Box::<stderr_2>::default())
.with_stderr(Box::new(stderr_2) as Box<_>)
.run_command("python", &pkg, Arc::new(rt))
});

Expand Down

0 comments on commit 9246c68

Please sign in to comment.