summaryrefslogtreecommitdiff
path: root/cli/compiler.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-05-30 11:07:58 -0400
committerRyan Dahl <ry@tinyclouds.org>2019-06-25 06:32:28 -0700
commit3a4d88475b40a17f2ce17b775a3f07c78be83d79 (patch)
tree2780e2c7ea86c0a7e039cfc3e478bd82131a467e /cli/compiler.rs
parent89216c7baaab8ade3daf9103572647addeb404f3 (diff)
Port code from Cargo and use for progress
A lot of its functionality is unused still, but the goal it to slowly migrate logging functionality to it. There is also a useful progress bar which can be ported over later - it depends on this module. https://github.com/rust-lang/cargo/blob/4c1fa54d10f58d69ac9ff55be68e1b1c25ecb816/src/cargo/util/progress.rs
Diffstat (limited to 'cli/compiler.rs')
-rw-r--r--cli/compiler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/compiler.rs b/cli/compiler.rs
index dc30758b2..872ed28a2 100644
--- a/cli/compiler.rs
+++ b/cli/compiler.rs
@@ -180,7 +180,7 @@ pub fn compile_async(
err_check(worker.execute("workerMain()"));
err_check(worker.execute("compilerMain()"));
- let compiling_job = state.progress.add(format!("Compiling {}", module_name));
+ let compiling_job = state.progress.add("Compile", &module_name);
let resource = worker.state.resource.clone();
let compiler_rid = resource.rid;