summaryrefslogtreecommitdiff
path: root/cli/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'cli/compilers')
-rw-r--r--cli/compilers/ts.rs5
-rw-r--r--cli/compilers/wasm.rs5
2 files changed, 2 insertions, 8 deletions
diff --git a/cli/compilers/ts.rs b/cli/compilers/ts.rs
index d0c0d87c0..a6ed8237d 100644
--- a/cli/compilers/ts.rs
+++ b/cli/compilers/ts.rs
@@ -257,10 +257,7 @@ impl TsCompiler {
.expect("Unable to create worker state");
// Count how many times we start the compiler worker.
- global_state
- .metrics
- .compiler_starts
- .fetch_add(1, Ordering::SeqCst);
+ global_state.compiler_starts.fetch_add(1, Ordering::SeqCst);
let mut worker = CompilerWorker::new(
"TS".to_string(),
diff --git a/cli/compilers/wasm.rs b/cli/compilers/wasm.rs
index 9bc9d2ab4..d6f0d2f4a 100644
--- a/cli/compilers/wasm.rs
+++ b/cli/compilers/wasm.rs
@@ -61,10 +61,7 @@ impl WasmCompiler {
.expect("Unable to create worker state");
// Count how many times we start the compiler worker.
- global_state
- .metrics
- .compiler_starts
- .fetch_add(1, Ordering::SeqCst);
+ global_state.compiler_starts.fetch_add(1, Ordering::SeqCst);
let mut worker = CompilerWorker::new(
"WASM".to_string(),