Silence typst-timing warnings on WebAssembly

This commit is contained in:
Laurenz 2024-11-11 15:16:28 +01:00
parent 525154a730
commit eb2ea1d0ee

View File

@ -1,5 +1,7 @@
//! Performance timing for Typst.
#![cfg_attr(target_arch = "wasm32", allow(dead_code, unused_variables))]
use std::hash::Hash;
use std::io::Write;
use std::num::NonZeroU64;