mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 13:14:48 +00:00
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.
4c1fa54d10/src/cargo/util/progress.rs
This commit is contained in:
parent
89216c7baa
commit
3a4d88475b
12 changed files with 554 additions and 32 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue