From e0a867cabff021348cc283b25467cfd40b8eb15a Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 16 Jan 2024 14:19:16 +0200 Subject: refactor(tvix/eval): generalize EvalIO container Don't restrict to a Box. There's still one or two places where we do restrict, this will be solved by b/262. Change-Id: Ic8d927d6ea81fa12d90b1e4352f35ffaafbd1adf Reviewed-on: https://cl.tvl.fyi/c/depot/+/10639 Tested-by: BuildkiteCI Reviewed-by: raitobezarius --- tvix/eval/src/tests/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tvix/eval/src/tests') diff --git a/tvix/eval/src/tests/mod.rs b/tvix/eval/src/tests/mod.rs index 7509379fdab6..e3d3445a45ac 100644 --- a/tvix/eval/src/tests/mod.rs +++ b/tvix/eval/src/tests/mod.rs @@ -1,4 +1,4 @@ -use crate::value::Value; +use crate::{value::Value, EvalIO}; use builtin_macros::builtins; use pretty_assertions::assert_eq; use rstest::rstest; @@ -119,7 +119,7 @@ fn identity(#[files("src/tests/tvix_tests/identity-*.nix")] code_path: PathBuf) let eval = crate::Evaluation { strict: true, - io_handle: Box::new(crate::StdIO), + io_handle: Box::new(crate::StdIO) as Box, ..Default::default() }; -- cgit 1.4.1