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 -2
View File
@@ -1,9 +1,10 @@
use std::time::{Duration, Instant};
use std::time::Duration;
use gpui::{
App, ElementId, FocusHandle, InteractiveElement, IntoElement, ParentElement, RenderOnce,
Styled, Task, Window, div,
};
use web_time::Instant;
use crate::{
buttons::{Button, ButtonVariant},
@@ -202,7 +203,9 @@ impl RenderOnce for Stopwatch {
#[cfg(test)]
mod tests {
use std::time::{Duration, Instant};
use std::time::Duration;
use web_time::Instant;
use super::{Run, tenths};