Skip to content

Commit 26921f8

Browse files
committed
fix unused lint for start_now
1 parent 5b1ef2e commit 26921f8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

packages/yew/src/scheduler.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,13 @@ mod feat_hydration {
211211
pub(crate) use feat_hydration::*;
212212

213213
/// Execute any pending [Runnable]s
214+
#[cfg(any(
215+
test,
216+
feature = "test",
217+
not(target_arch = "wasm32"),
218+
target_os = "wasi",
219+
feature = "not_browser_env"
220+
))]
214221
pub(crate) fn start_now() {
215222
#[tracing::instrument(level = tracing::Level::DEBUG)]
216223
fn scheduler_loop() {

0 commit comments

Comments
 (0)