web: the library checks for wasm32 (carried)

This commit is contained in:
ZacharyZhang-NY committed 2026-09-29 19:16:41 -04:00
1 parent fe467d2bfe
commit a03df0987c
44 files changed
+141 -104

No files matched your search

+5 -5
View File
@@ -1,12 +1,10 @@
use std::{
collections::VecDeque,
time::{Duration, Instant},
};
use std::{collections::VecDeque, time::Duration};
use gpui::{
App, Bounds, ElementId, FontWeight, InteractiveElement, IntoElement, ParentElement, RenderOnce,
Styled, Window, canvas, div, fill, point, size,
};
use web_time::Instant;
use crate::{
theme::{ActiveTheme, Radius, TextSize},
@@ -183,7 +181,9 @@ impl RenderOnce for FpsMeter {
#[cfg(test)]
mod tests {
use std::time::{Duration, Instant};
use std::time::Duration;
use web_time::Instant;
use super::{Frames, missed};