about summary refs log tree commit diff
path: root/tvix/eval/src/builtins
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-02-26T15·40+0300
committertazjin <tazjin@tvl.su>2023-03-04T15·53+0000
commitbfb787a6c5dc6ccd9a25efc015770f20702c2a55 (patch)
tree9bd2630aeb074ad5fb3ae6e261350785392ad4f4 /tvix/eval/src/builtins
parent38fd3cb2929518aae42ce239a8b115c4d568bb4d (diff)
refactor(tvix/eval): remove VM argument from suspended native thunks r/5888
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 <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/eval/src/builtins')
-rw-r--r--tvix/eval/src/builtins/impure.rs8
1 files changed, 1 insertions, 7 deletions
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 {