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

+2 -4
View File
@@ -1,11 +1,9 @@
use std::{
rc::Rc,
time::{Duration, Instant},
};
use std::{rc::Rc, time::Duration};
use gpui::{
App, ElementId, IntoElement, ParentElement, RenderOnce, Styled, Task, Window, div, prelude::*,
};
use web_time::Instant;
use crate::{
forms::Run,
+2 -1
View File
@@ -1,10 +1,11 @@
use std::time::{Duration, Instant};
use std::time::Duration;
use anyhow::anyhow;
use gpui::{
Context, Entity, FocusHandle, IntoElement, ParentElement, Pixels, Render, Styled,
TestAppContext, VisualTestContext, Window, div, px,
};
use web_time::Instant;
use super::{press, settle, setup, wait};
use crate::{
+2 -4
View File
@@ -1,7 +1,4 @@
use std::{
rc::Rc,
time::{Duration, Instant},
};
use std::{rc::Rc, time::Duration};
use gpui::{
Anchor, Animation, AnimationExt, AnyElement, App, ClickEvent, Context, ElementId, Entity,
@@ -9,6 +6,7 @@ use gpui::{
RenderOnce, SharedString, StatefulInteractiveElement, Styled, Task, Window, anchored, canvas,
div, point, prelude::*, relative,
};
use web_time::Instant;
use crate::{
buttons::{Button, ButtonVariant, IconButton},