about summary refs log tree commit diff
path: root/tvix/build/src/bin
diff options
context:
space:
mode:
authorSimon Hauser <simon.hauser@helsinki-systems.de>2024-06-19T09·30+0200
committerSimon Hauser <simon.hauser@helsinki-systems.de>2024-06-20T10·28+0000
commitbd8d74a3eea461268c3ee089e001022c7d151c14 (patch)
tree2f32aad8ae405292eca71658f0e0a797a8ad47ef /tvix/build/src/bin
parent1446e3be9991291367a2b0cd7daa1d3c0f86e8b7 (diff)
feat(tvix/tracing): optional progressbar r/8297
Disable the progressbar on default and provide a interface for
optionally enabling the progressbar.

Change-Id: I0e31b1957e80cf64a8dcf65c6ceb3713975b8220
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11861
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: Simon Hauser <simon.hauser@helsinki-systems.de>
Diffstat (limited to 'tvix/build/src/bin')
-rw-r--r--tvix/build/src/bin/tvix-build.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tvix/build/src/bin/tvix-build.rs b/tvix/build/src/bin/tvix-build.rs
index c96145ebb479..26f2044af3fd 100644
--- a/tvix/build/src/bin/tvix-build.rs
+++ b/tvix/build/src/bin/tvix-build.rs
@@ -54,7 +54,9 @@ enum Commands {
 async fn main() -> Result<(), Box<dyn std::error::Error>> {
     let cli = Cli::parse();
 
-    let _ = tvix_tracing::TracingBuilder::default().level(cli.log_level);
+    let _ = tvix_tracing::TracingBuilder::default()
+        .level(cli.log_level)
+        .enable_progressbar();
 
     match cli.command {
         Commands::Daemon {