From bfb787a6c5dc6ccd9a25efc015770f20702c2a55 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 26 Feb 2023 18:40:52 +0300 Subject: refactor(tvix/eval): remove VM argument from suspended native thunks Because they do not use it, and it can not be passed with the coming generator refactoring. Change-Id: I0d96f2357a7ee79cd8a0f401583d4286230d4a6b Reviewed-on: https://cl.tvl.fyi/c/depot/+/8146 Tested-by: BuildkiteCI Reviewed-by: raitobezarius --- tvix/eval/src/builtins/impure.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tvix/eval/src/builtins/impure.rs') diff --git a/tvix/eval/src/builtins/impure.rs b/tvix/eval/src/builtins/impure.rs index 80736708118c..91dce152e54a 100644 --- a/tvix/eval/src/builtins/impure.rs +++ b/tvix/eval/src/builtins/impure.rs @@ -6,13 +6,7 @@ use std::{ time::{SystemTime, UNIX_EPOCH}, }; -use crate::{ - errors::ErrorKind, - io::FileType, - value::{NixAttrs, Thunk}, - vm::VM, - Value, -}; +use crate::{errors::ErrorKind, io::FileType, value::NixAttrs, vm::VM, Value}; #[builtins] mod impure_builtins { -- cgit 1.4.1