about summary refs log tree commit diff
path: root/tvix/store/src/bin
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-06-11T19·08+0300
committerflokli <flokli@flokli.de>2023-06-12T10·28+0000
commit09c5ca0a0d50c87a4404dba97737def573817a9b (patch)
tree407cf3455a95a9ba198efdd2ed59f9fc19c6dfbe /tvix/store/src/bin
parent38a7caaada826ebdbc9db3a9042ab1bf2099472b (diff)
refactor(tvix/store/fuse): use Arc<dyn …> instead of generics r/6275
Change-Id: I5685379bd6f89d17da6843d31bef4c1fc4dc0a18
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8745
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/bin')
-rw-r--r--tvix/store/src/bin/tvix-store.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tvix/store/src/bin/tvix-store.rs b/tvix/store/src/bin/tvix-store.rs
index 8cd87abe9c8c..ae72559d3943 100644
--- a/tvix/store/src/bin/tvix-store.rs
+++ b/tvix/store/src/bin/tvix-store.rs
@@ -190,7 +190,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
                 GRPCPathInfoService::from_client(path_info_service_client.clone());
 
             tokio::task::spawn_blocking(move || {
-                let f = FUSE::new(path_info_service, directory_service, blob_service);
+                let f = FUSE::new(
+                    Arc::new(blob_service),
+                    Arc::new(directory_service),
+                    path_info_service,
+                );
                 fuser::mount2(f, &dest, &[])
             })
             .await??